Solstice DiskSuite 4.2.1 User's Guide

How to Remove a Trans Metadevice From a File System That Cannot Be Unmounted (DiskSuite Tool)

Use this procedure to remove UFS logging from a file system that cannot be unmounted, such as root (/), /usr, and swap.

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

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

  3. Double-click the Trans Metadevice object in the Objects list.

    The object appears on the canvas.

  4. Drag the logging device out of the Trans Metadevice object to the canvas.

    The status of the object changes to "Detach log (scheduled)."

  5. Click inside the top rectangle of the Trans Metadevice object then click Commit.

    A dialog box warns that the logging device will be detached after the trans metadevice is unmounted or after the next reboot. Click Really Commit.

    The status of the trans metadevice changes to "Detach log (in-progress)."


    Note -

    If an entry exists for the file system in the /etc/vfstab file, and the file system is currently mounted, DiskSuite Tool automatically updates it to use the slice name instead of the trans metadevice name.


  6. Reboot. You may see a message indicating that the file system is being checked.


    ...
    The /usr file system (/dev/md/rdsk/d0) is being checked.
    /dev/md/rdsk/d0: 11576 files, 198318 used, 42081 free
    /dev/md/rdsk/d0: (737 frags, 5168 blocks, 0.3% fragmentation)
    ...
  7. Edit the /etc/vfstab file to remove the trans metadevice.

    Change the entry for the file system so that it references the block and raw devices containing the file system rather than the trans metadevice.

  8. Reboot.

    This reboot enables the system to recognize that the file system is no longer mounted on the trans metadevice but on its underlying slice.

  9. To delete the trans metadevice, double-click the Trans Metadevice object in the Objects list. The object appears on the canvas. Point inside the top rectangle of the object and display the pull-down menu. Choose the Delete option.

  10. Click the Really Delete button on the Confirmation dialog box that appears.

  11. To verify that the Trans Metadevice object was deleted, display the Configuration Log.