HP Smart Storage Administrator Scripting Cookbook

Basic scripting scenarios 11
Method=Custom
Controller=Slot1
Array=A
Drive=2
OnlineSpare=1
LogicalDrive=1
RAID=1
Size=MAX
Array=B
Drive=*
LogicalDrive=NEXT
Repeat=20
RAID=5
Size=MAX
Summary
For both arrays, this script uses the MAX value to consume the fully available capacity of the physical drives.
For Array B, the Repeat option specifies the number of times to repeat the configuration. Instead of using the
number 2, the script uses the NEXT value to specify the ID of the second logical drive. When using the
Repeat option, you must also use the NEXT value for the LogicalDrive option.
This script will fail if the controller does not have the required number of disks connected.