HP MSA 2040 CLI Reference Guide

set vdisk-spare 199
set vdisk-spare
Description Designates spare disks for use by a fault-tolerant (RAID1, 3, 5, 6, 10, 50) vdisk. A dedicated spare
is assigned to a fault-tolerant 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: 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 vdisk-spare
disks
disks
vdisk
Parameters disks
disks
IDs of the disks to designate as spares. For disk syntax, see "Command syntax" (page 20).
vdisks
Name or serial number of the vdisk to assign spares to. For disk syntax, see "Command syntax"
(page 20).
Example Designate disk 1.5 as a spare for vdisk VD1:
# set vdisk-spare disks 1.5 VD1
Info: Disk 1.5 added to VD1.
Success: Command completed successfully. (2013-01-11 14:48:03)
See also delete vdisks
set spares
show disks
show vdisks