« What does your degree mean? | Main | Mosquitos... »

November 16, 2005

Adding a Hot Spare in SVM

Sometimes, when creating SVM meta devices, I forget to attach the hotspare disks to the correct meta volumes. This is important because a generic hotspare pool can be used by any meta volume and you may want to reserve it for a particular use. For example, if you had some mirrors and a RAID5 set, you may want to restrict the hotspare to the RAID set because the mirrors already have more redundancy built into them.

It turns out that this is easy to do (although the documentation is hard to find):
metaparam -h hot-spare-pool component

A more complete example (from the manual):

# metaparam -h hsp001 d10
# metastat d10
d10: RAID
State: Okay
Hot spare pool: hsp001

Posted by Ozguru at November 16, 2005 06:00 AM