HP BL25/35/45p HP ProLiant Accelerated iSCSI for Linux User Guide - Page 18

Connecting to the iSCSI target, Sample commands to discover targets and create iSCSI connections

Page 18 highlights

Connecting to the iSCSI target Sample commands to discover targets and create iSCSI connections • Add static entry # iscsiadm -m node -p -T -o new • iSCSI target discovery using 'SendTargets' # iscsiadm -m discovery --type sendtargets -p • Login to target using 'iscsiadm' command iscsiadm --mode node --targetname --portal --login • List all drives active in the system # 'fdisk -l' See the open-iSCSI documentation for comprehensive list of iscsiadm commands. Connecting to the iSCSI target 18

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

Connecting to the iSCSI target
18
Connecting to the iSCSI target
Sample commands to discover targets and create
iSCSI connections
Add static entry
# iscsiadm -m node -p <ipaddr[:port,TPGT]> -T <iqn.targetname> -o new
iSCSI target discovery using 'SendTargets'
# iscsiadm -m discovery --type sendtargets -p <ipaddr[:port]>
Login to target using 'iscsiadm' command
iscsiadm --mode node --targetname <iqn.targetname> --portal
<ipaddr[:port]> --login
List all drives active in the system
# 'fdisk -l'
See the open-iSCSI documentation for comprehensive list of iscsiadm commands.