HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 87
list ldev
Description This command displays logical device configuration details. Each LDEV is identified by the CU
number it belongs to and an LDEV number. CU number and LDEV numbers are represented in
hexadecimal.
Use list ldev to query the following items:
• CU. The CU number to which the LDEV belongs to. With the XP128/XP1024, the CU ranges from
0 to 31. For the XP10000/XP12000, the CU ranges from 0 to 63.
• LDEV. The LDEV number. Each CU can have LDEVs numbered between 0 to 255. LDEV numbers
are displayed in hexadecimal.
• Emulation. The emulation type of the LDEV. The CLI displays only open volume emulations. For
LUSE volumes, the emulation type is displayed as OPEN-X * n, where n represents the total
number of LDEVs that comprise the LUSE volume.
• ExpansionStatus. The expansion status of the LDEV. An LDEV can be in one of three states: a
single LDEV (“NOT EXPANDED”), first LDEV in an expanded volume (“EXPANDED TOP”), or a
part of the expanded volume (“EXPANDED NON TOP”).
• LUSECount. The number of LDEVs that constitute an expanded volume, including the top LDEV.
LUSECount is displayed only for volumes that are top LDEVs in expanded volumes. The value
displayed will be between 2 – 36 for “EXPANDED TOP” LDEVs, depending on the number of
LDEVs present. For “NON TOP EXPANDED” LDEVs and “NOT EXPANDED” LDEVs, the value is
displayed as “-“.
• TotalPaths. The total number of paths that have been assigned to an LDEV. “0” indicates that
there is no path currently defined for an LDEV.
• Capacity (MB). The size of the LDEV in megabytes.
• Reserved. Displays whether the LDEV is a reserved or normal volume. Reserved volumes are used
by Auto LUN for data migration. The possible values for this column are “RESERVED” and
“NORMAL.”
• DeviceType. Displays whether the LDEV is a command device or not. The possible values are
CmdDev and LUN.
• CmdDevSecurity. Displays whether command device security is switched ON or OFF. This is
applicable only for LDEVs designated as command devices. The possible values are ON and
OFF. For all other devices, this value is N/A.
• RAID. Displays the RAID level of the parity group to which this LDEV belongs. The supported
RAID levels are RAID1, RAID5 and RAID6.
• LDevType. Displays the kind of LDEV (custom or normal LDEV).
Syntax list ldev [-cmddev | -lu | -unallocated]
[-emulation <emulation_type...>] [-ldev <ldev...>] [-cu <cu...>]