After checking the prerequisites ("Prerequisites for Creating DiskSuite Objects"), and the preliminary information ("Preliminary Information for Creating Hot Spare Pools"), use the metahs(1M) command to add a slice to a hot spare pool. Refer to the metahs(1M) man page for more information.
The added hot spare follows whatever hot spares already exist in the hot spare pool.
# metahs -a hsp001 /dev/dsk/c3t0d0s2 hsp001: Hotspare is added |
The -a option adds the slice /dev/dsk/c3t0d0s2 to hot spare pool hsp001. The system verifies that the slice has been added to the hot spare pool.
# metahs -a -all /dev/dsk/c3t0d0s2 hsp001: Hotspare is added hsp002: Hotspare is added hsp003: Hotspare is added |
The -a and -all options add the slice /dev/dsk/c3t0d0s2 to all hot spare pools configured on the system. The system verifies that the slice has been added to all hot spare pools.