Set Spares - HP P2000 G3 Cli Reference Manual

Msa system
Hide thumbs Also See for P2000 G3:
Table of Contents

Advertisement

set spares

Description Creates or deletes spare disks for redundant (RAID 1, 3, 5, 6, 10, 50) vdisks.
A global spare is available to any redundant vdisk with the same disk type. The system can have
eight global spares. Each must have enough capacity to replace the smallest disk in any existing
vdisk.
A dedicated spare is assigned to a redundant vdisk with the same disk type. A vdisk can have four
spares. Each must have enough capacity to replace the smallest disk in that vdisk.
CAUTION:
the newly specified set of disks. When setting dedicated spares, the existing set of dedicated spares
for the specified vdisk is completely replaced by the newly specified set of disks. So, for example, if
you want to add new global spares to the ones that already exist, you must specify all the existing
global spare disks as well as the new disks that you want to add.
Syntax
set spares
disks disks|none
[vdisk vdisk]
Parameters disks disks|none
IDs of the disks to designate as spares, or none to delete all global spares if no vdisk is specified or
all dedicated spares for a specified vdisk. For disk syntax, see
vdisk vdisk
Optional. Name or serial number of the vdisk to assign spares to. For vdisk syntax, see
syntax
on page 22. If this parameter is omitted, the disks will be global spares.
Example Designate disk 1.2 as a global spare:
# set spares disks 1.2
Info: Global spare disk 1.2 was added.
Success: Command completed successfully. (2012-01-20 15:00:36)
Designate disk 1.3 as a dedicated spare for vdisk VD1:
# set spares disks 1.3 vdisk VD1
Info: Vdisk spare disk 1.3 was added. (1.3)
Success: Command completed successfully. (2012-01-20 10:12:01)
Try to designate a disk of one type as a spare for a vdisk using a different disk type:
# set spares disk 2.1 vdisk VD1
Error: The specified spare cannot be used. - Disk 2.1 is not the same type as the
ones currently used by the vdisks. (2.1)
Error: Command failed. (2011-10-12 10:09:30)
Delete all global spares:
# set spares disks none
Info: Global spare disk 1.2 was deleted. (1.2)
Success: Command completed successfully. (2011-10-11 15:01:57)
Delete all dedicated spares for vdisk VD1:
# set spares disks none vdisk VD1
Info: Vdisk spare disk 1.3 was deleted. (1.3)
Success: Command completed successfully. (2011-10-12 10:12:54)
When setting global spares, the existing set of global spares is completely replaced by
Command syntax
HP P2000 G3 MSA System CLI Reference Guide 181
on page 22.
Command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents