HP Smart Storage Administrator Scripting Cookbook

Basic scripting scenarios 9
Method=Custom
Controller=Slot1
Array=A
LogicalDrive=1
RAID=0
Size=200000
Summary
The script modifies the size of the logical drive only, because multiple transformations of a logical drive
cannot be performed at the same time. For example, HP SSA must complete the size expansion before
beginning another transformation, such as a RAID level change.
To modify existing arrays and volumes, the HP SSA GUI may be a more intuitive tool for some users. The GUI
provides graphical feedback that guides the user and displays only available options.
Scenario 3: Reconfigure to modify RAID level
Task
Reconfigure an existing RAID 0 logical volume to be a RAID 1 logical volume.
The selected RAID level is supported only if the minimum number of physical drives are available.
Hardware configuration
Storage system
An HP Smart Array controller in slot 1
An existing logical drive
Script
Action=ReConfigure
Method=Custom
Controller=Slot1
Array=A
LogicalDrive=1
RAID=1
Summary
The script modifies the RAID level of the logical drive only, because multiple transformations of a logical drive
cannot be performed at the same time. For example, HP SSA must complete the RAID level change before
beginning another transformation, such as a size expansion.
To modify existing arrays and volumes, the HP SSA GUI may be a more intuitive tool for some users. The GUI
provides graphical feedback that guides the user and displays only available options. For example, the HP
SSA GUI only displays optional RAID levels based on the minimum number of required physical drives. For
more information, see the Configuring Arrays on HP Smart Array Controllers Reference Guide.