Changing a diskset’s sparepool assignment, Changing a diskset’s sparepool assignment 5-26 – HP NetRAID-4M Controller User Manual
Page 104

5-26
Command Line Interface User’s Guide
Disks Attached OS Managed Label Shared Spare
------ -------- ---------- ---------- ------ -----
3 NO NO Mercury YES NO
Changing a Diskset’s Sparepool Assignment
Changing a diskset’s sparepool assignment either assigns a diskset
to a sparepool or unassigns a diskset from a sparepool. To change a
diskset’s sparepool assignment, the diskset must be owned and
attached by either the controlling or peer partner. You use the
disk_set changespare pool
command to change a diskset’s
sparepool assignment.
Before changing a diskset’s sparepool assignment, use the
disk_set list
command to display information about your
disksets, as in the following example. In the example, the Spare
column indicates NO, which means that the diskset is not assigned
as a spare. Note that the example alters the
disk_set list
output
so that the data can fit on the page.
HPN0> disk_set list
Executing: disk_set list
Diskset ID Creator ID Owner
------------------- ------------------ ------------------
0x01be868c1d74a640 0xfafaf001007a1c00 \\.\HPN0
Disks Attached OS Managed Label Shared Spare
------ -------- ---------- ---------- ------ -----
3 Yes NO Mercury YES NO
To change a diskset’s sparepool assignment, use the
disk_set
changespare pool
command, as in the following example. In the
example, the command changes the sparepool assignment of the
diskset whose diskset ID is 0x01be868c1d74a640 and whose creator
ID is 0xfafaf001007a1c00 to spare.
HPN0>disk_set changesparepool 0x01be868c1d74a640
0xfafaf001007a1c00 spare
Executing: disk_set changelabel 125,685,775,960,680,000
-361,712,932,956,267,520 "nonspare"