To return a hot spare to the “available” state, use one of the following methods:
From the Enhanced Storage tool within the Solaris Management Console, open the Hot Spare Pools node and select a hot spare pool. Choose Action⇒Properties. Then, choose the Hot Spares panel. Follow the onscreen instructions. For more information, see the online help.
Use the following form of the metahs command:
# metahs -e hot-spare-slice
Specifies to enable a hot spare.
Specifies the name of the slice to enable.
For more information, see the metahs(1M) man page.
In the following example, the metahs command places the hot spare, /dev/dsk/c0t0d0s2 in the “Available” state after it has been repaired. It is unnecessary to specify a hot spare pool.
# metahs -e c0t0d0s2