Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS Network Card User Manual


 
3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
3-12 IS0054604-00 A
Target Discovery
Discover Targets using sendtarget
# iscsiadm -m discovery -t st -p <target_ip:target_port> -I
<iface_name> -o new, delete, update, nonpersistent
In discovery mode, iscsiadm will use the iscsid.conf discovery settings and
overwrite the discovery record settings with it. By default, it will remove records for
portals not returned. For portals returned, the discovery command will create a
new record or modify an existing one with values from iscsid.conf and the
command line.
Values passed with the -o option:
newiscsiadm will add records for portals that do not yet have records in
the database.
deleteiscsiadm deletes records for portals that were not returned during
discovery.
updateiscsiadm updates records for portals returned during discovery
using info from iscsid.conf and command line.
nonpersistentiscsiadm will not store the portals found in node
database.
Example:
# iscsiadm -m discovery -t st -p 192.168.2.104 -I qla4xxx-3 -o new
192.168.2.104:3260,1
iqn.2001-05.com.equallogic:0-8a0906-32e33fe02-517000ecd724ea83-karen-1
192.168.2.104:3260,1
iqn.2001-05.com.equallogic:0-8a0906-eddd93203-dc1000ece454e721-karen-2
192.168.2.104:3260,1
iqn.2001-05.com.equallogic:0-8a0906-ef8d93203-e99000ece484e721-karen-3
192.168.2.104:3260,1
iqn.2001-05.com.equallogic:0-8a0906-f16d93203-92d000ece4b4e721-karen-4