Manage Connections to iSCSI Targets

Cockpit administrators can use the Storage page in the web console to manage iSCSI storage target connections. The Storage page provides configurable options to add, mount, and remove an iSCSI storage connection.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to add, mount, or remove an iSCSI target connection.

  1. In the Storage page, find the table for iSCSI Targets and perform one of the following:
    • Add and mount iSCSI storage connection:
      1. Click the pencil (This image shows a pencil that symbolizes the Edit functionality.) icon to verify the correct initiator name is assigned to the host client.

        The Change ISCSI [initiator name] dialog appears.

      2. In the Change ISCSI [initiator name] dialog, change or keep the host client initiator name, and then click one of the following:
        • Change – To apply the changes made and dismiss the dialog.
        • Cancel – To dismiss the dialog without saving the changes.
      3. Click the plus [+] icon to define the iSCSI server target IP address and user credentials.

        The Add iSCSI portal dialog appears.

      4. In the Add iSCSI portal dialog, enter the following information and then click Next.
        Property Description
        Server In the Server text box, enter the IP address of the iSCSI Linux server.
        User name In the Username text box, enter the username assigned to the administrator user account.
        Password In the Password text box, enter the secret phrase assigned to the administrator user account.

        The Available targets on [server_ip_address] dialog.

      5. In the Available target dialog, select one of the storage targets listed and then click Add.

        The Storage [target name] appears in the Drives table on the Storage page.

      6. In the Drives table, click the iSCSI storage target name.

        The Storage [target name] page appears.

      7. In the Storage [target name] page, navigate to Content table and click Mount to mount the iSCSI file system on the host client.

--OR--

  • Remove existing iSCSI storage connection:
    1. In the iSCSI target table, perform the following:
      1. If more than one connection appears, select the name of the iSCSI storage connection that you want to remove.
      2. Click the check mark icon above the connection name to disable the connection and to reveal the Delete icon.
      3. Click the Delete icon to remove the configured ISCSI storage connection from the host.