Read Creating and Maintaining RAID-1 Volumes.
Make sure that you have root privilege. Make sure that you have a current backup of all data.
Verify that the status of the mirror you want to work with is in an “Okay” state using the metastat command.
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 Submirror tab. Follow the onscreen instructions. 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.
# metastat d5: mirror Submirror 0: d50 ... # metadetach d5 d50 d5: submirror d50 is detached |
In this example, mirror d5 has a submirror, d50. You detach the submirror with the metadetach command. The underlying slices from d50 can be reused elsewhere. After the submirror is detached from the mirror, the system displays a confirmation message.