Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-181
Publication Number: 53-1000240-01
fcLunQuery
2
Note: Enter commands in lowercase only; mixed case is for readability.
fcLunQuery
Displays a list of LUN IDs and LUNs for all accessible targets.
Synopsis fclunquery [-w wwn | -s]
Description Use this command to display a list of LUN IDs and LUNs for all accessible targets.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
-w wwn Specifies a port or node WWN from which to display LUN information;
otherwise, LUN information from all FC devices specified in the name sever is
displayed. Uses commas to separate a list of WWNs.
-s Displays the port and node WWNs which will be used for any LUN query from
this switch.
Examples To display the LUN information:
To display the LUN information of a list of port WWNs:
To display what port and node WWNs will be used for any LUN query from this switch:
See Also fosConfig, iscsiCfg, iscsiPortCfg
switch:user> fclunquery
Target Index: 1
Target Node WWN: 50:05:07:65:05:03:f9:39
Target Port WWN: 50:05:07:65:05:83:f9:39
Target Pid: 144e8
Number of LUNs returned by query: 1
LUN ID: 0x00
switch:admin> fclunquery -w 20:00:00:04:cf:5d:cf:0e
Target Index: 1
Target Node WWN: 20:00:00:04:cf:5d:cf:0e
Target Port WWN: 21:00:00:04:cf:5d:cf:0e
Target Pid: 207ef
Number of LUNs returned by query: 1
LUN ID: 0x00
switch:admin> fclunquery -s
The following WWNs will be used for any lun query from this switch:
Node WWN: 10:00:00:60:69:e2:09:c8
Port WWN: 21:fd:00:60:69:e2:09:c8