Configuring multisession on the Linux operating system

Hosts with Linux® operating systems support multisession connections between the host and target.

About this task

Discover the target, and then complete the following steps to configure a session between the host and the target:

Procedure

  1. To create a session between the host and the target, run one of the following commands:
    • iscsiadm –m node -l

      This command establishes a session on all of the portals reported by the iSCSI target at the time of discovery.

    • iscsiadm –m node –T iSCSI target name -l

      This command establishes a single session between the host and the target at the specified target portal.

  2. To remove a session between the host and the target, run one of the following commands:
    • iscsiadm –m session –u

      This command removes sessions on all of the portals reported by the iSCSI target at the time of discovery.

    • iscsiadm –m node –T iSCSI target name -u

      This command removes a single session between the host and the target at the specified target portal.