Solstice DiskSuite 4.2.1 User's Guide

How to Remove a Mirror and Submirrors (DiskSuite Tool)

You can use this task for any file system or non-UFS application that uses a mirror, except for a file system that is root (/), swap, /opt, or /usr. To remove a mirror that is used by one of these file systems, refer to "How to Unmirror a File System That Cannot Be Unmounted (Command Line)".

  1. Make sure you have met the prerequisites ("Prerequisites for Removing DiskSuite Objects"), and have read the preliminary information ("Preliminary Information for Removing Mirrors").

  2. Make sure you have a current backup of the metadevice.

  3. Stop access to the metadevice.

    For example, a mirrored file system should be unmounted. For a non-UFS application, such as a database, perform the steps necessary to stop the application's use of the metadevice.

  4. Double-click the Mirror object in the Objects list.

    The mirror object appears on the canvas.

  5. Display the Mirror object's pop-up menu and choose Delete.

  6. Click the Really Delete button.

    The mirror is split into its underlying submirrors (Concat/Stripe metadevices).

  7. [Optional] If the mirror was used as a file system and there was an entry for the mirror in the etc/vfstab file, use one of the following to clean up the entry for the mirror.

    • You change the /etc/vfstab entry to mount the file system on one of the submirrors.

    • If one of the submirrors consists of a one-way concatenation, you can change the /etc/vfstab entry to mount the file system on the underlying slice.

    • If you do not plan on accessing the data anymore, you can remove the /etc/vfstab entry for the file system altogether.

  8. Clean up the Concat/Stripe objects.

    You should delete the submirror metadevice(s) that you no longer need.

  9. To verify that the objects were deleted, display the Configuration Log.