HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 15
Example output
list lun
Information about mainframe and intermediate volumes are not shown. To manage
those volumes, please access the mainframe management applications using the CV-XP
web GUI
PortName HostGroupNickName LunID CU LDEV
CL1-A GrpNick1 0 0 00
CL1-B GrpNick1 1 0 02
CL1-A GrpNick4 1 0 0A
CL1-E GrpNick1 0 0 00
CL1-a GrpNick1 0 0 00
Example output with -l option
list ldev -l
Information about mainframe and intermediate volumes are not shown. To manage
those volumes, please access the mainframe management applications using the CV-XP
web GUI
CU LDEV Emulation ExpansionStatus Count Raid Paths Capacity Reserve
DeviceType CmdDevSecurity
0 00 OPEN-E EXPANDED_TOP 3 RAID1 2 2347
Normal Lun OFF
-o option to send output to a file
The -o <filename> option stores the results of any command execution in a file instead of displaying
the lines on the screen.
You can use this option to save output for later analysis. The output format is comma delimited (also known
as CSV). You can import files in this format into Microsoft Excel and other programs.
When you use this option, the new file created overwrites any existing file with the same path and name.
Sets and ranges in commands
In many commands, you can specify arguments such as <portname> as a single item, a set, or a range.
Sets and ranges may be used for parity groups, LDEVs, LUN IDs, CU numbers, etc. Each command that
accepts sets or ranges describes the specific format for entry. The general rules are described below.
Sets
Sets are lists of non-consecutive elements. Elements of sets are separated by a colon (:). For example, ports
CL1-A, CL1-C, and CL1-E would be expressed as 1A:1C:1E. Port names must be specified in truncated
form (for example, 1A and not CL1-A) because the hyphen (-) is reserved for specifying range values.
Sets may be used in several XP128/XP1024/XP10000/XP12000 commands.
Ranges
A range specifies consecutive elements. Ranges are indicated by dashes. For example, the range of ports
from CL1-A to CL1-E is expressed as 1A-1E.
For XP128/XP1024/XP10000/XP12000 commands, port names must be specified in truncated form (for
example, 1A and not CL1-A) because the hyphen (-) is used to specify the range.
Typical preliminary commands
Once you are logged in, you need to implement some preliminary commands to discover, add, and
connect to the disk arrays you want to manage:
• See which disk arrays are available to manage (list device command).
• Connect to a disk array before issuing disk array management commands (connect command).
• Retrieve current information by issuing the update command.
• Enter add, create, list, modify, or delete commands as needed.
• Disconnect from a disk array (disconnect command).
• End the CLI session (exit command).