Solaris Volume Manager Administration Guide

Example—Deleting a Hot Spare from One Hot Spare Pool


# metastat hsp003
hsp003: 1 hot spare
        c0t2d0s2                Broken       5600 blocks
# metahs -d hsp003 c0t2d0s2

In this example, the metastat command makes sure that the hot spare is not in use. The metahs -d command deletes hot spare /dev/dsk/c0t2d0s2 in the hot spare pool hsp003.