After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects") and the preliminary information ("Preliminary Information for Removing Hot Spares and Hot Spare Pools"), use the metahs(1M) command to remove the hot spare. Refer to the metahs(1M) man page for more information.
# metahs -d hsp003 /dev/dsk/c2t1d0s2 hsp003: Hotspare is deleted |
This example removes the hot spare /dev/dsk/c2t1d0s2 from the hot spare pool hsp003.
# metahs -d all /dev/dsk/c2t1d0s2 hsp003: Hotspare is deleted hsp004: Hotspare is deleted # metahs -i ... hsp003: 2 hot spares c1t3d0s6 Available 912800 blocks c0t0d0s4 Available 5600 blocks hsp004: 2 hot spares c1t3d0s6 Available 912800 blocks c0t0d0s4 Available 5600 blocks |
This example removes the hot spare /dev/dsk/c2t1d0s2 from all its associated hot spare pools. The metahs command with the -i option shows that the hot spare slice is no longer part of the hot spare pools from which it was deleted.