HP ProLiant DL280 Configuring Arrays on HP Smart Array Controllers Reference G - Page 56

Sample scenario, Parameter, Acceptable values, Comments, Example commands

Page 56 highlights

Parameter size sectors aa drivetype Acceptable values #|min|max|maxmbr|? 32|63|default|? enable|disable|? sas|satalogical|sata|saslogical|par allelscsi|ss_sas|ss_sata|? Comments This parameter determines the desired size of the logical drive. Units are MB.* The default setting is max. The default setting depends on the operating system. The default setting is enable. - *Use only these units. Do not enter any extra text in the command to specify the units. If you specify an array as the target, you can omit the drives parameter, because the drives are already implicitly defined by the array ID. This feature is useful if you are entering the command directly into the CLI console because you do not need to remember which drives belong to the array. When you write a batch file, however, it is often easier to specify every drive in the array than to parse out the array ID. When you use the drives parameter you can list each drive individually, you can specify a drive range, or you can specify both a range and some individual drives. A drive range can span ports, boxes, and bays. If you specify individual drives, they do not have to form a continuous sequence. If you specify a range, the CLI automatically excludes from the target any drive in the range that is unavailable (for example, a drive is excluded if it already belongs to an array, is a spare, has too small a capacity, or has failed). If you want to specify an existing array by its drives rather than by array ID, then all of the drives that you specify must belong to the same array, and none of the drives in the array can be omitted. Example commands: ctrl slot=5 create type=ld drives=1:0,1:1,1:3 raid=adg ctrl slot=5 create type=ld drives=1:1-1:3 raid=adg ctrl slot=5 create type=ld drives=1:7,1:10-2:5,2:8-2:12 raid=adg ctrl slot=5 array A create type=ld size=330 raid=adg The following pair of commands demonstrates how the drives parameter can be used in a batch file to create two logical drives on the same array, one of 330 MB and the other of 450 MB: ctrl slot=2 create type=ld drives=1:1-1:6 size=330 raid=adg ctrl slot=2 create type=ld drives=1:1-1:6 size=450 raid=5 Sample scenario Consider a situation in which you want to create two arrays. One of these arrays needs two logical drives, while the other needs only one. First, determine what physical drives are available and what their properties are: => ctrl ch="Lab 4" pd all show For this sample scenario, the screen response is: MSA1000 at Lab 4 unassigned physicaldrive 1:12 (box 1:bay12, Parallel SCSI, 36.4 GB, OK) physicaldrive 1:13 (box 1:bay13, Parallel SCSI, 9.1 GB, OK) physicaldrive 1:14 (box 1:bay14, Parallel SCSI, 9.1 GB, OK) Knowing this information, you can now create the first array with one logical drive: => ctrl ch="Lab 4" create type=ld drives=1:12 Now, verify that the array has been created: HP Array Configuration Utility 56

  • 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

HP Array Configuration Utility
56
Parameter
Acceptable values
Comments
size
#|min|max|maxmbr|?
This parameter determines the
desired size of the logical drive.
Units are MB.*
The default setting is
max.
sectors
32|63|default|?
The default setting depends on the
operating system.
aa
enable|disable|?
The default setting is
enable.
drivetype
sas|satalogical|sata|saslogical|par
allelscsi|ss_sas|ss_sata|?
*Use only these units. Do not enter any extra text in the command to specify the units.
If you specify an array as the target, you can omit the
drives
parameter, because the drives are already
implicitly defined by the array ID. This feature is useful if you are entering the command directly into the CLI
console because you do not need to remember which drives belong to the array. When you write a batch
file, however, it is often easier to specify every drive in the array than to parse out the array ID.
When you use the
drives
parameter you can list each drive individually, you can specify a drive range, or
you can specify both a range and some individual drives. A drive range can span ports, boxes, and bays.
If you specify individual drives, they do not have to form a continuous sequence. If you specify a range, the
CLI automatically excludes from the target any drive in the range that is unavailable (for example, a drive is
excluded if it already belongs to an array, is a spare, has too small a capacity, or has failed).
If you want to specify an existing array by its drives rather than by array ID, then all of the drives that you
specify must belong to the same array, and none of the drives in the array can be omitted.
Example commands:
ctrl slot=5 create type=ld drives=1:0,1:1,1:3 raid=adg
ctrl slot=5 create type=ld drives=1:1-1:3 raid=adg
ctrl slot=5 create type=ld drives=1:7,1:10-2:5,2:8-2:12 raid=adg
ctrl slot=5 array A create type=ld size=330 raid=adg
The following pair of commands demonstrates how the
drives
parameter can be used in a batch file to
create two logical drives on the same array, one of 330 MB and the other of 450 MB:
ctrl slot=2 create type=ld drives=1:1-1:6 size=330 raid=adg
ctrl slot=2 create type=ld drives=1:1-1:6 size=450 raid=5
Sample scenario
Consider a situation in which you want to create two arrays. One of these arrays needs two logical drives,
while the other needs only one.
First, determine what physical drives are available and what their properties are:
=> ctrl ch="Lab 4" pd all show
For this sample scenario, the screen response is:
MSA1000 at Lab 4
unassigned
physicaldrive 1:12 (box 1:bay12, Parallel SCSI, 36.4 GB, OK)
physicaldrive 1:13 (box 1:bay13, Parallel SCSI, 9.1 GB, OK)
physicaldrive 1:14 (box 1:bay14, Parallel SCSI, 9.1 GB, OK)
Knowing this information, you can now create the first array with one logical drive:
=> ctrl ch="Lab 4" create type=ld drives=1:12
Now, verify that the array has been created: