HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 183
set spares, global spare disks as well as the new disks that you want to add.
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 183 highlights
set spares Description Creates or deletes spare disks for fault-tolerant (RAID 1, 3, 5, 6, 10, 50) vdisks. A global spare is available to any fault-tolerant vdisk with the same disk type. The system can have 16 global spares. Each must have enough capacity to replace the smallest disk in any existing vdisk. A dedicated spare is assigned to a fault-tolerant vdisk with the same disk type. A vdisk can have four dedicated spares. Each must have enough capacity to replace the smallest disk in that vdisk. NOTE: If you upgraded from an earlier release that did not distinguish between enterprise and midline SAS disks, you might have vdisks that contain both types of disks. For those vdisks, you can designate either or both types of disks to be spares. For information about sparing rules for heterogeneous vdisks, see the "About spares" topic in the SMU documentation. 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 [vdisk vdisk] Parameters disks disks IDs of the disks to designate as spares. For disk syntax, see "Command syntax" (page 20). vdisk vdisk Optional. Name or serial number of the vdisk to assign spares to. For vdisk syntax, see "Command syntax" (page 20). 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) See also • delete global-spare • delete vdisk-spare • set advanced-settings • show disks • show vdisks set spares 183