SSA Scripting 82
Controller=First
Array=A
Drive=1E:1:1, 1E:1:2
LogicalDrive=1
RAID=1
Array=Next
You can use Array=Next instead of the Array=A command.
Advantage
You do not need to know how many arrays exist. The scripting software selects the next valid array identifier.
Example
Add one array to the configuration, regardless of how many arrays already exist:
Controller=Slot1
Array=Next
Drive=1E:1:1, 1E:1:2
LogicalDrive=2
RAID=1
Recommends pairing the Array=Next command with LogicalDrive=Next, because you would not create an
array without also creating a logical drive, and this additional command does not require you to know how
many logical drives already exist.
LogicalDrive=Next
You can use LogicalDrive=Next instead of the LogicalDrive=N command.
Advantage
You do not need to know how many logical drives exist. The scripting software selects the next valid identifier.
Example
Add one logical drive to Array A, regardless of how many logical drives already exist:
Controller=Slot1
Array=A
Drive=1E:1:1, 1E:1:2
LogicalDrive=Next
RAID=1
Repeat=N | MAX
You can use this command as part of the logical drive specification.
Advantage
You can quickly divide the available space on an array into multiple volumes without specifying each volume
individually.
Example
Create the maximum number of logical volumes the controller supports (each volume is the same size, and
the volumes, in total, use all available free space):
Controller=Slot1
Array=A
Drive=*
LogicalDrive=Next
Repeat=Max
RAID=1