HP Scripting Toolkit 9.50 for Linux User Guide

Array category
The Array category has the following options:
Array” (page 43)
“Drive” (page 43)
“DriveType” (page 43)
“OnlineSpare” (page 44)
Array
Enter a letter or pair of letters to identify the array you are creating or reconfiguring, and observe
these additional limitations:
In Configure mode, HP SSA creates a new array. The value that you specify for the array
option must be the next available letter or pair of letters in the sequence, according to the
number of existing arrays on the controller. AA follows Z, and BA follows AZ.
In Reconfigure mode, HP SSA can either create a new array or reconfigure an existing array.
In this case, the value that you specify can identify an existing array, or it can correspond to
the next available array letter or pair of letters in the existing configuration.
Drive
You can use this option to add a drive to an existing array (to expand an array) or to build a new
array. If you are expanding an array, each drive that you add must have a capacity no less than
that of the smallest drive already in the array. The added and existing drives in the array must all
be the same type (for example, SAS or SATA).
If the value of the ClearConfigurationWithDataLoss option is Yes, you can use the Drive
option to remove drives from an array. However, the ClearConfigurationWithDataLoss
option is now deprecated.
If you use Auto method mode, HP SSA configures all the available drives on the controller into one
array. If the drives are of different capacities, HP SSA determines the capacity of the smallest drive
and uses the same amount of space on all other available drives.
If you use Custom method mode, choose one of the following methods to specify the drives to be
used in the array. Different arrays on the same controller can use different methods.
To specify individual drives, use the applicable convention (port:ID, box:bay, or port:box:bay).
To specify only the number of drives to use (not which specific drive IDs to use), enter that
number as the value for this option. For example, if you enter drive=3, HP SSA uses the
first three available drives to build or expand the array that you define in the remainder of
the script. HP SSA automatically determines which drives are suitable to use.
To use all available drives, enter an asterisk as the value for this option. An array that is
configured using this method cannot have a spare.
DriveType
The value that you enter for this option specifies the type of drive (SAS, SATA, or parallel SCSI)
that HP SSA must use to build the array.
Using HPSSASCRIPTING 43