Solaris Volume Manager Administration Guide

How to Enable a Hot Spare

  1. 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 the Hot Spares panel and follow the instructions. For more information, see the online help.

    • Use the following form of the metahs command:


      metahs -e hot-spare-slice
      
      -e

      Specifies to enable a hot spare.

      hot-spare-slice

      Is the name of the slice to enable.

      For more information, see the metahs(1M) man page.

Example—Enabling a Hot Spare


# metahs -e c0t0d0s2

In this example, the 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.