Solaris Volume Manager Administration Guide

ProcedureHow to Enable a Slice in a Submirror

Before You Begin

Read Overview of Replacing and Enabling Components in RAID-1 and RAID-5 Volumes and Creating and Maintaining RAID-1 Volumes.

  1. Make sure that you have root privilege and that you have a current backup of all data.

  2. Use one of the following methods to enable a slice in a submirror.

    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. Choose the mirror. Then, choose Action⇒Properties and click the Submirror tab. Follow the onscreen instructions. For more information, see the online help.

    • Use the metareplace command to enable a failed slice in a submirror.


      # metareplace -e mirror failed-slice 
      

      The metareplace command automatically starts a resynchronization to synchronize the repaired or replaced slice with the rest of the mirror.

      See the metareplace(1M) man page for more information.


Example 11–11 Enabling a Slice in a Submirror


# metareplace -e d11 c1t4d0s7
d11: device c1t4d0s7 is enabled

In this example, the mirror d11 has a submirror that contains slice, c1t4d0s7, which had a soft error. The metareplace command with the -e option enables the failed slice.

If a physical disk is defective, you can replace it with another available disk (and its slices) on the system as documented in How to Replace a Slice in a Submirror. Alternatively, you can repair or replace the disk, format it, and then run the metareplace command with the -e option as shown in this example.