Displaying The Iscsi Virtual Target Lun Map - Brocade Communications Systems 1606 Administrator's Manual

Brocade fabric os administrator's guide v6.3.0 (53-1001336-01, july 2009)
Hide thumbs Also See for 1606:
Table of Contents

Advertisement

12
iSCSI virtual target configuration
Deleting LUNs from an iSCSI VT
You can delete individual LUNs, a list or range of LUNs, or all LUNs associated with an iSCSI VT.
1. Connect to the switch and log in.
2. Enter the iscsiCfg
3. Enter the iscsiCfg

Displaying the iSCSI virtual target LUN map

1. Connect and log in to the switch.
2. Enter the iscsiCfg
270
The following example maps two LUNs attached to port 2f:ff:00:06:2b:0d:12:99 to an iSCSI VT
named iqn.2002-12.com.brocade:example-disk001.
switch:admin> iscsicfg --add lun -t iqn.2002-12.com.brocade:example-disk001 \
-w 2f:ff:00:06:2b:0d:12:99 -l 1-2:0-1
The operation completed successfully.
switch:admin> iscsicfg --show lun -t iqn.2002-12.com.brocade:example-disk001
Number of targets found: 1
Target: iqn.2002-12.com.brocade:example-disk001
Number of LUN Maps: 2
FC WWN
21:00:00:04:cf:e7:73:7e
2f:ff:00:06:2b:0d:12:99
delete lun command with –t target_IQN, –w port_WWN, and –l LUN_list
--
options to delete a LUN or LUNs where,
-t target_IQN
Specifies the IQN name for the iSCSI VT in the format:
iqn.2002-12.com.brocade:<user_defined_name>, where
user_defined_name may be any unique string up to 12 alpha-numeric
characters long.
-w port_WWN
Specifies the port WWN of the physical FC target. If this parameter is used
without using -l to identify LUNs for deletion, all LUNs for the specified iSCSI
VT are deleted, and the FC target is removed from the iSCSI VT mapping.
-l LUN_list
Specifies the LUN or LUNs that you want to delete. This can be an individual
number, and mix of numbers, or a range. The LUNs must be in the existing
target data base.
The following is an example.
switch:admin>iscsicfg --delete lun -t iqn.2005-10.com.brocade:tgt1 -l 2-4,5
The operation completed successfully
commit all command to commit the changes to the database. If the LUN
--
deletion is one of several configuration changes, you may want to refer to
iSCSI-related configuration"
show lun command:
--
switch:admin> iscsicfg --show lun
Number of targets found: 2
Target: iqn.2006-10.com.example:disk001
Number of LUN Maps: 2
FC WWN
21:00:00:04:cf:e7:73:7e
Virtual LUN(s)
0
1-2
for extra detail on the commit process.
Virtual LUN(s)
0
Physical LUN(s)
0
0-1
"Committing the
Physical LUN(s)
0
Fabric OS Administrator's Guide
53-1001336-01

Advertisement

Table of Contents
loading

Table of Contents