Set Spares - HP P2000 Reference Manual

Msa system
Hide thumbs Also See for P2000:
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:
disks.
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 21. 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: Command completed successfully. (1.2) - Global spare disk 1.2 was set.
Success: Command completed successfully.
Designate disk 1.3 as a dedicated spare for vdisk VD1:
# set spares disks 1.3 vdisk VD1
Info: Command completed successfully. (1.3) - Vdisk spare disk 1.3 was set.
Success: Command completed successfully.
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. (2.1) - Disk 2.1 is not the same type
as the ones currently used by the vdisks.
Error: Command failed.
Delete all global spares:
# set spares disks none
Success: Command completed successfully.
Delete all dedicated spares for vdisk VD1:
# set spares disks none vdisk VD1
Success: Command completed successfully.
See also
• set advanced-settings
• show disks
• show vdisks
162 Alphabetical list of commands
Existing spares not specified in this command are deleted and return to being available
Command syntax
on page 21.
Command

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents