beautypg.com

Deleting spares, Recognizing a failed unit, Expanding an array – HP StorageWorks 1000 Modular Smart Array User Manual

Page 30: Basic command, Command options, Example command, Example command and response

background image

30

Using the CLI

Deleting spares

Basic command

delete spare unit <#>

Command options

unit

#—the unit that will no longer have access to the spare. This is the same number that was given

to the unit when it was created with the

add unit

command.

diskrange

—the spare drive or range of spares to remove from use. Disks are identified by box

number and bay number.

Example command

CLI> delete spare unit=2 disk109

Recognizing a failed unit

If all drives of a previously failed unit are in working order, use this command to change the state of the

unit back to

VOLUME_OK

.

To accept media exchange on a unit marked as failed:

Basic command

accept unit <#>

Command options

#—the unit that you want to activate, where # represents the unit number.

Expanding an array

CAUTION:

In an HP-UX environment, expanding a LUN, as described in this section, is not supported.

See the HP-UX documentation for instructions on expanding LUNs on an HP-UX system.

To add additional physical drives to an array:

NOTE:

Because this command affects the entire array, all LUNs made from the array are also affected.

Basic command

expand unit <#>

Command options

#—one of the LUN within the target array.

NOTE:

Any LUN in the array can be entered to identify the array; the space is added to the array and not

the LUN.

diskrange

—the physical disks to add to the array. Disks are identified by box number and bay

number.

Example command and response

CLI> expand unit 4 disk204-disk207

The actual new array capacity will be 3000MB.

The array with Unit 4 is being expanded.

Use “show unit 4” to monitor progress.

This manual is related to the following products: