HP P2000 G3 MSA System CLI Reference Guide 181
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:
When setting global spares, the existing set of global spares is completely replaced by
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
Command syntax
on page 22.
vdisk
vdisk
Optional. Name or serial number of the vdisk to assign spares to. For vdisk syntax, see
Command
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)
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...