Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)
Chapter 1 Using the CLI 25
Command Syntax
This section describes syntax rules for CLI commands.
■ “Keywords and Parameters” on page 25
■ “Disk Drive Syntax” on page 25
■ “Virtual Disk Syntax” on page 26
■ “Volume Syntax” on page 26
■ “Volume Mapping Syntax” on page 27
■ “Host Nickname Syntax” on page 27
Keywords and Parameters
Command keywords must be entered in lowercase. Parameter values can be entered
in uppercase and lowercase.
Parameter values that contain non-alphanumeric characters, such as spaces, must be
enclosed in quotation marks (
"), which the CLI parses and removes.
Disk Drive Syntax
The CLI disk-addressing mode parameter controls how drives are identified (see
“show cli-parameters” on page 164).
■ If set to enclosure-slot, drives are identified by a combination of enclosure
ID and drive slot number. The first enclosure has ID 0, the second has ID 1, and
so on. In each enclosure, slots are numbered 0–11. For example, 1.3 identifies
drive 3 in enclosure 1.
■ If set to channel-id, drives are identified by SCSI ID. The first enclosure has
drive IDs 0–11, the second has 16–27, the third has 32–43, and the fourth has
48–59.
You can specify:
■ An individual drive. For example, 4 or 0.4.
■ A hyphenated range of drives. For example, 4-7 or 0.4-7.
■ A comma-separated list of individual drives, ranges, or both (with no spaces).
For example, 4,6-9 or 0.4,0.6-9.
■ A RAID 10 or 50 virtual disk, with drives in sub-vdisks separated by colons
(with no spaces). For example (RAID 50), 0-2:3-5:6,10-11 or
0.0-2:0.3-5:0.6,0.10-11.