Q-Logic IS0054604-00 A Network Card User Manual


 
3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
3-16 IS0054604-00 A
Login to All Targets
Not specifying the target name, portal, and iface name results in login to all portals
on all nodes/targets through each interface specified in the node configuration.
# iscsiadm -m node -l
To login to all portals on a node/target through each interface:
# iscsiadm -m node -T <target_name> -l
To login to all targets from the specified initiator port:
# iscsiadm -m node -I <iface_name> -l
Login All Sessions with Specified Parameters
For node mode, login all sessions with the node or conn startup values passed in,
except ones marked onboot, if all is passed in.
iscsiadm -m node -T <target_name> -p <target_portal> -I
<iface_name> -L all,manual,automatic
Logout from a Target
# iscsiadm -m node -T <target name> -p <target portal> -I <iface>
-u
Example:
# iscsiadm -d 7 -m node --targetname
iqn.1986-03.com.hp:storage.msa2012i.0911d7e161.b --portal
192.168.2.24:3260 -I qla4xxx-3 -u
Logging out of [iface: qla4xxx-3, target:
iqn.1986-03.com.hp:storage.msa2012i.0911d7e161.b, portal:
192.168.2.24,3260]
Logout of [sid: 32, target:
iqn.1986-03.com.hp:storage.msa2012i.0911d7e161.b, portal:
192.168.2.24,3260] successful.
Logout from All Targets
# iscsiadm -m node -u
To log out from all portals on a node/target through each interface:
# iscsiadm -m node -T <target_name> -u
To log out from all targets from the specified initiator port:
# iscsiadm -m node -I <iface_name> -u