HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 19

Command syntax, Keywords and parameters, Disks, Volumes, Ports

Page 19 highlights

Command syntax Keywords and parameters Command keywords must be entered in lowercase. Parameter values can be entered in uppercase and lowercase. Unless otherwise specified, a parameter value can include any valid UTF-8 characters except backslash (\), comma, double quote ("), and control characters. A parameter value that includes a space must be enclosed in double quotes. Parameters such as names of users and volumes have a maximum length in bytes. ASCII characters are 1 byte; most Latin (Western European) characters with diacritics are 2 bytes; most Asian characters are 3 bytes. Parameters can be entered in any order. However, if the value of a parameter with no keyword is the same as the keyword of an optional parameter, the optional parameter must precede the value. For example, to create a vdisk named spare, the spare parameter must precede the name value spare: create vdisk level raid5 disks 1.10-12 spare 1.7 spare Disks Disks are specified by enclosure ID and slot number. Enclosure IDs increment from 1. Disk IDs increment from 1 in each enclosure. You can specify: • A disk. Example: 1.4 • A hyphenated range of disks. Example: 1.4-7 • A comma-separated list of individual disks, ranges, or both (with no spaces). Example: 1.4,1.6-9 • A RAID 10 or 50 vdisk, with disks in sub-vdisks separated by colons (with no spaces). RAID-50 example: 1.1-3:1.4-6:1.7,1.10-11 Vdisks You can specify: • A vdisk by its name or serial number. A unique serial number is automatically assigned when a vdisk is created, and does not change for the life of the vdisk. • A list of vdisk names or serial numbers separated by commas (with no spaces). Not all commands support lists. List example: vd1,"My vdisk" Volumes You can specify: • A volume by its name or serial number. A unique serial number is automatically assigned when a volume is created, and does not change for the life of the volume. • A list of volume names or serial numbers separated by commas (with no spaces). Not all commands support lists. List example: vd1_v1,"Vol #1" Ports Controller host ports are specified by controller ID and port number, and are not case sensitive. Controller IDs are A for the upper controller and B for the lower controller. Port IDs increment from 1 in each controller module. You can specify: • A port ID. Example: A1 • A hyphenated range of IDs. Do not mix controller IDs in a range. Example: b1-b2 • A comma-separated list of IDs, ranges, or both (with no spaces). Example: A1,b1-b2 HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide
19
Command syntax
Keywords and parameters
Command keywords must be entered in lowercase. Parameter values can be entered in uppercase and
lowercase.
Unless otherwise specified, a parameter value can include any valid UTF-8 characters except
backslash (\), comma, double quote ("), and control characters. A parameter value that includes a space
must be enclosed in double quotes.
Parameters such as names of users and volumes have a maximum length in bytes. ASCII characters are
1 byte; most Latin (Western European) characters with diacritics are 2 bytes; most Asian characters are
3 bytes.
Parameters can be entered in any order. However, if the value of a parameter with no keyword is the same
as the keyword of an optional parameter, the optional parameter must precede the value. For example, to
create a vdisk named
spare
, the
spare
parameter must precede the name value
spare
:
create vdisk level raid5 disks 1.10-12 spare 1.7
spare
Disks
Disks are specified by enclosure ID and slot number. Enclosure IDs increment from 1. Disk IDs increment
from 1 in each enclosure. You can specify:
A disk. Example:
1.4
A hyphenated range of disks. Example:
1.4-7
A comma-separated list of individual disks, ranges, or both (with no spaces). Example:
1.4,1.6-9
A RAID 10 or 50 vdisk, with disks in sub-vdisks separated by colons (with no spaces). RAID-50
example:
1.1-3:1.4-6:1.7,1.10-11
Vdisks
You can specify:
A vdisk by its name or serial number. A unique serial number is automatically assigned when a vdisk is
created, and does not change for the life of the vdisk.
A list of vdisk names or serial numbers separated by commas (with no spaces). Not all commands
support lists. List example:
vd1,"My vdisk"
Volumes
You can specify:
A volume by its name or serial number. A unique serial number is automatically assigned when a
volume is created, and does not change for the life of the volume.
A list of volume names or serial numbers separated by commas (with no spaces). Not all commands
support lists. List example:
vd1_v1,"Vol #1"
Ports
Controller host ports are specified by controller ID and port number, and are not case sensitive. Controller
IDs are A for the upper controller and B for the lower controller. Port IDs increment from 1 in each controller
module. You can specify:
A port ID. Example:
A1
A hyphenated range of IDs. Do not mix controller IDs in a range. Example:
b1-b2
A comma-separated list of IDs, ranges, or both (with no spaces). Example:
A1,b1-b2