Enabling or disabling the array accelerator, Enabling a script to exit on error, Using the split mirror command – HP Smart Storage Administrator User Manual

Page 69

Advertising
background image

Operations 69

where <target> is a controller that supports drive write cache.
Example command:

=> ctrl slot=5 modify dwc=enable

Enabling or disabling the array accelerator

If the controller has an array accelerator, you can disable or enable it for specified logical drives.

NOTE:

Disabling the array accelerator for a logical drive reserves use of the accelerator cache

for other logical drives on the array. This feature is useful if you want the other logical drives to

have the maximum possible performance (for example, if the logical drives contain database

information).

Syntax:

<target> modify aa=enable|disable|?

where <target> is a logical drive.
Example command:

=> ctrl slot=3 ld 1 modify aa=enable

Enabling a script to exit on error

When a script encounters an error during execution, the exitonerror keyword enables the script to

decide whether to continue or to exit the application and return an exit code.
Syntax:
set [exitonerror=enable | disable]
Example commands:

set exitonerror=enable

set eoe=disable

show exitonerror

Using the Split Mirror command

The "splitmirror" command splits original RAID 1, RAID10 or ADM mirrored volumes into individual RAID0

volumes. The command will also split volumes into RAID1 or RAID10 volumes if ADM, and can be used to

recombine the volumes. Optionally, the command will hide the new volume from the OS.
Syntax

<target> splitmirror

action=[splitwithbackup|remirror|rollback|activatebackup]

where <target> is the array.
Actions
The "splitwithbackup" action splits an array consisting of one or more RAID 1, RAID 1+0, RAID 1 (ADM), or
RAID 10 (ADM) and creates two arrays: A primary array and a backup array. The new arrays have the

following characteristics:

If the original array contained RAID 1 or RAID 1+0 drives, the primary array will contain RAID 0 drives.

If the original array contained RAID 1 (ADM) drives, the primary array will contain RAID 1 drives.

If the original array contained RAID 10 (ADM) drives, the primary array will contain RAID 1+0 drives.

Advertising