Solstice DiskSuite 4.2.1 Reference Guide

Creating a Hot Spare Pool in the File

This example shows a one-way mirror, /dev/md/dsk/d10, and two other concatenations that would be attached later to create a three-way mirror. Three hot spare pools are created and associated with the submirrors.

# (mirror and hot spare)
d10 -m d20
d20 1 1 c1t0d0s2 -h hsp001
d30 1 1 c2t0d0s2 -h hsp002
d40 1 1 c3t0d0s2 -h hsp003
hsp001 c2t2d0s2 c3t2d0s2 c1t2d0s2
hsp002 c3t2d0s2 c1t2d0s2 c2t2d0s2
hsp003 c1t2d0s2 c2t2d0s2 c3t2d0s2

The -m creates a one-way mirror consisting of submirror d20. You attach the other submirrors, d30 and d40, later by using the metattach(1M) command. The -h specifies which hot spare pools belong to the submirrors. There are three disks used as hot spares, each associated with three separate hot spare pools, hsp001, hsp002, and hsp003.

Note -

The /ect/lvm/ file can be used to both create and associate hot spare pools with metadevices at the same time.