Solaris Volume Manager Administration Guide

ProcedureHow to Enable a Hot Spare

Steps
  1. Become superuser.

  2. 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
      
      -e

      Specifies to enable a hot spare.

      hot-spare-slice

      Specifies the name of the slice to enable.

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


Example 17–12 Enabling a Hot Spare

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