beautypg.com

Connecting to the iscsi target – HP NC532m Dual Port 10GbE Multifunction BL-c Adapter User Manual

Page 18

background image

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 -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.