Logging in to discovered targets

You can connect to a specific portal on a discovered target by using the iscsiadm command.

The system supports only one iSCSI session between an initiator and a target. Ensure that you do not attempt to connect to the same target node more than once.
Log in the iSCSI initiator to your selected system targets by using the following appropriate command examples:

For SLES:

iscsiadm --mode node --target target_IQN --portal x.x.x.x --login

For example: iscsiadm --mode node --target iqn.1986-03.com.ibm:2145.cluster10g1.node1 --portal 192.168.64.191 --login.

For RHEL:

iscsiadm --mode node --targetname target_IQN --portal x.x.x.x --login

For example: iscsiadm --mode node --targetname iqn.1986-03.com.ibm:2145.cluster10g1.node1 --portal 192.168.64.191 --login.

When the login command completes, the host can access the volumes that are mapped to the host from the target after the SCSI devices are rescanned.