Solaris Volume Manager Administration Guide

ProcedureHow to Detach a Submirror

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

  2. Read Background Information for RAID 1 Volumes.

  3. Use one of the following methods to detach 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 Submirrors tab. Follow the instructions on screen. For more information, see the online help.

    • Use the metadetach command to detach a submirror from a mirror.

      # metadetach mirror submirror

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

Example 11–8 Detaching a Submirror

# metastat
d5: mirror
    Submirror 0: d50
# metadetach d5 d50
d5: submirror d50 is detached

In this example, mirror d5 has a submirror, d50, which is detached with the metadetach command. The underlying slices from d50 are going to be reused elsewhere. When you detach a submirror from a mirror, the system displays a confirmation message.