Dell Emulex Family of Adapters User Manual
Page 856

Emulex Drivers Version 10.2 for Linux User Manual
P010081-01A Rev. A
3. Configuration
iSCSI Driver Configuration
856
Perform the following steps to discover targets using iSNS through the NIC interface:
1. Ensure that a ping to the iSNS server IP from the initiator machine is successful
through the NIC interface.
2. Run the discovery command:
iscsiadm -m discoverydb -t isns -p
--discover -P 1
For example:
iscsiadm -m discoverydb -t isns -p 10.192.204.116 -I default
--discover -P1
Example output:
Target: iqn.tgt:TGT1
Portal: 192.168.65.197:3260,1
Iface Name: default
Target: iqn.tgt:TGT2
Portal: 192.168.65.197:3260,1
Iface Name: default
Target: iqn.tgt:TGT3
Portal: 192.168.65.197:3260,1
Iface Name: default
3. Display the interfaces that are present:
iscsiadm -m iface
Example output:
default tcp,
iser iser,
bnx2i.00:25:b3:df:8d:ad
bnx2i,00:25:b3:df:8d:ad,
be2iscsi.00:00:c9:f2:73:91
4. Add the targets listed in the discovery command to the iSCSI driver interface
through which the connection will be offloaded:
iscsiadm -m node -T
For example:
localhost:~ # iscsiadm -m node -T iqn.tgt:TGT1 -p
192.168.65.197:3260,1 -I
be2iscsi.00:00:c9:f2:73:91 -o new
New iSCSI node
[be2iscsi:[hw=00:00:c9:f2:73:91,ip=,net_if=,iscsi_if=be2iscsi
.00:00:c9:f2:73:91]
192.168.65.197,3260,1 iqn.tgt:TGT1]