HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

64 CLI commands for the XP128/XP1024/XP10000/XP12000
list lun
Description This command displays path related configuration details. Each path is identified by its port name,
host group nickname, LUN ID, CU number, and LDEV number. The LUN ID, CU number, and LDEV
number are in hexadecimal.
Use list lun to query for the following information:
PortName. The port from which the path has been created. Ports in the disk array are identified
through their port names (for example, CL1-A and CL1-B).
GroupNickName. The host group from which the path has been created. The XP128/XP1024
support up to 128 host groups for each port; the XP10000/XP12000 can have a maximum of
256 host groups for each port. Each host group is identified by its nickname. The host group
nickname is unique for a port.
Each port has one default host group, which is always accessible irrespective of the security
switch status. An LDEV can have only one path defined from a host group. There cannot be
multiple paths to the same LDEV from a host group.
LunID. Each host group can have between 0 to 255 (1023 for XP10000/XP12000) LUN IDs.
LUN IDs are displayed in hexadecimal.
CU. The CU number to which the path has been created. For the XP128/XP1024, the CU
numbers range from 0 to 31. For XP10000/XP12000, CU numbers range from 0 to 63. CU
numbers must be displayed in hexadecimal.
LDEV. The LDEV number to which the path has been created. Each CU can have LDEVs numbered
between 0 to 255. LDEV numbers are displayed in hexadecimal.
TotalPaths. The total number of paths that have been assigned to this LDEV.
Emulation. The emulation type of the LDEV to which the path has been created. The CLI displays
only open volume emulations.
DeviceType. Specifies whether the LDEV is a command device or not. The possible values are
CmdDev and LUN.
Capacity (MB). The size of the LUN in megabytes.
Syntax list lun [-port <portname...>]
[-hostGrp <hostgrpnickname...>] | [-cu <cu...>]
[-ldev <ldev...>] [-cmd <cmdname>] [-category <cmdcategory>]
Arguments [-port <portname...>]
Displays paths for only the specified ports. <portname> can be specified as one port, a set of
ports, or a range of ports (for example, 1A or 1A:1C:1D or 1A-1E). Port names must be
specified in truncated form (for example, 1A and not CL1-A) because the hyphen (-) is used to
specify a range. -port without any arguments generates an error.
[-hostGrp <hostgrpnickname...>]
Displays the paths for only the specified host groups. <hostgrpnickname> can be specified as
one host group nickname or a set of host group nicknames (for example, nick1 or nick1:nick3).
-hostGrp without any arguments generates an error.
[-cu <cu...>]
Displays only the paths in the specified CUs. <cu> can be one value, a set of values, or a range
of values (for example, 0 or 0:2:3 or 0-4). CUs must be given in hexadecimal. -cu without any
arguments generates an error.