Logging in to discovered targets

This section describes how to connect to a specific portal on a discovered target.

The Storwize® V7000 system supports only one iSCSI session between an initiator and a target.

On the Linux® host, use the following command to log on to the Storwize V7000 system target:

iscsiadm --mode node --target <IQN> --portal 192.0.2.* --login 
# iscsiadm --mode node --target iqn.2012-02.com.ibm.de.boeblingen:2145.v7k01.node1
--portal 192.0.2.* --login
Logging in to [iface: default, target: iqn.2012-02.com.ibm.de.boeblingen:2145.v7k01.node1,
portal: 192.0.2.*,3260] (multiple)  
Login to [iface: default, target: iqn.2012-02.com.ibm.de.boeblingen:2145.v7k01.node1,
portal:  192.0.2.*,3260] successful. 

When the login command completes, the device nodes for the Storwize V7000 system volumes that are mapped to the host are created on Linux host system.

# lsscsi 
[2:0:0:0]    disk    IBM    2145         0000 /dev/sda 
[2:0:0:1]    disk    IBM    2145         0000 /dev/sdb