HP 3PAR Ubuntu Operating System Implementation Guide
Ubuntu iscsiadm Utility Usage
This section provides examples of a few commands using the Ubuntu iscsiadm utility to set up
the iSCSI sessions. See man iscsiadm for more details.
• Discover targets using SendTargets iSCSI Discovery:
# iscsiadm -m discovery -t sendtargets -p 10.101.4.220
• iSCSI login:
# iscsiadm -m node -T iqn.2000-05.com.3pardata:22220002ac00011b -p
10.101.4.220:3260 –l
• iSCSI login all:
# iscsiadm -m node --loginall=all
• iSCSI logout:
# iscsiadm -m node -T iqn.2000-05.com.3pardata:22220002ac00011b -p
10.101.4.220:3260 –u
• iSCSI logout all:
# iscsiadm -m node --logoutall=all
• Change iSCSI parameter:
• Add custom iSCSI node:
# iscsiadm -m node -o new -p 10.0.0.30:3260
• Remove iSCSI node:
• Remove SendTarget iSCSI Discovery:
# iscsiadm -m discovery -o delete -p 10.0.0.10
8 Configuring the HP 3PAR StoreServ Storage for iSCSI