318 iSCSI gateway service
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
--
delete lun
command with
–t
<target_IQN>
,
–w
<port_WWN>
,
and
–l
<LUN_list>
options to delete 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
3.
Enter the
iscsiCfg
--
commit all
command to commit the changes to the database. If the LUN
deletion is one of several configuration changes, you may want to see ”
Committing the iSCSI-related
configuration
” on page 322 for extra detail on the commit process.
Displaying the iSCSI virtual target LUN map
1.
Connect and log in to the switch.
2.
Enter the
iscsiCfg
--
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 Virtual LUN(s) Physical LUN(s)
21:00:00:04:cf:e7:73:7e 0 0
2f:ff:00:06:2b:0d:12:99 1-2 0-1
Target: iqn.2002-10.com.brocade:21:00:00:04:cf:e7:74:cf
Number of LUN Maps: 1
FC WWN Virtual LUN(s) Physical LUN(s)
21:00:00:04:cf:e7:74:cf 0 0x0000000000000000
Displaying iSCSI VT state and status
The following information can be displayed for each iSCSI VT:
•
Name:
IQN for the iSCSI VT.
•
State:
Whether the FC target is online or offline.
•
Status:
Whether the iSCSI VT has been defined (configuration completed but not committed) or is
committed (active and available to iSCSI initiators).
•
Authentication method:
Indicates CHAP if authentication is enabled for the iSCSI VT.
1.
Connect and log in to the switch.
2.
Enter the
iscsiCfg
--
show tgt
command with the
-v
option to display the iSCSI VTs:
switch:admin>
iscsicfg --show tgt -v
Содержание A7533A - Brocade 4Gb SAN Switch Base
Страница 1: ...HP StorageWorks Fabric OS 6 2 administrator guide Part number 5697 0016 Edition May 2009 ...
Страница 24: ...24 ...
Страница 99: ...Fabric OS 6 2 administrator guide 99 ...
Страница 100: ...100 Managing user accounts ...
Страница 118: ...116 Configuring standard security features ...
Страница 164: ...162 Configuring advanced security features ...
Страница 234: ...232 Installing and maintaining firmware ...
Страница 268: ...266 Administering advanced zoning ...
Страница 284: ...282 Configuring Enterprise class platforms ...
Страница 292: ...290 Routing traffic ...
Страница 294: ...292 Interoperability for merged SANs ...
Страница 302: ...300 Configuring the Distributed Management Server ...
Страница 334: ...332 iSCSI gateway service ...
Страница 340: ...338 Administering NPIV ...
Страница 407: ...Fabric OS 6 2 administrator guide 405 ...
Страница 408: ...406 Using the FC FC routing service ...
Страница 438: ...434 Administering extended fabrics ...
Страница 460: ...456 Administering ISL trunking ...
Страница 498: ...494 Configuring and monitoring FCIP extension services 556200 Bps 30s avg 491394 Bps lifetime avg ...
Страница 516: ...512 FICON fabrics ...
Страница 526: ...522 Configuring and monitoring FICON Extension Services ...
Страница 540: ...536 Configuring the PID format ...
Страница 544: ...540 Understanding legacy password behavior ...
Страница 546: ...542 Mixed fabric configurations for non merge SANs ...
Страница 550: ...546 Migrating from an MP Router to a 400 MP Router ...
Страница 558: ...554 Inband Management ...
Страница 572: ...568 ...