Solstice DiskSuite 4.2.1 User's Guide

How to Remove a Trans Metadevice (DiskSuite Tool)

Use this task to remove UFS logging from a file system that can be unmounted.

  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. Unmount the file system.

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

    The trans metadevice object appears on the canvas.

  5. Display the Trans Metadevice object's pop-up menu and select Delete.

  6. Click the Really Delete button.

    The trans metadevice is split into its underlying master and logging devices.

  7. Edit the /etc/vfstab file, using one of the following:

    • If the master device is a metadevice, you can change the /etc/vfstab entry to mount the file system on the metadevice that serves as the master device.

    • If the master device is metadevice consisting of a single slice, you can change the /etc/vfstab entry to mount the file system on the metadevice's underlying slice.

    • If the master device is a slice, you can change the /etc/vfstab entry to mount the file system on the slice.

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

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

  9. Run the fsck(1M) command.

    Because the file system is no longer a logging device, you must run fsck before you can mount it. You run fsck either on the raw metadevice or raw device for the slice, depending on the configuration of the master device. Answer y to the following prompt:


    # fsck raw_device
    ...
    FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? y
    ...

    Note -

    If you are mounting the file system on a metadevice, run fsck on the raw device for that metadevice. Otherwise, run fsck on the raw device for slice upon which you will mount the file system.


  10. Mount the file system.

    The file system is no longer being logged.

  11. [Optional] Clean up the master and logging devices.

    If the master and logging devices were metadevices, you should delete the metadevices that you no longer need.