Solstice DiskSuite 4.2.1 User's Guide

How to Remove a Trans Metadevice (Command Line)

After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects") and the preliminary information ("Preliminary Information for Removing Trans Metadevices"), use the metaclear(1M) command to remove the trans metadevice. Refer to the metaclear(1M) man page for more information.

Example -- Removing a Trans Metadevice


# umount /abcfs
# metaclear d64
(Edit the /etc/vfstab file)
# fsck /dev/rdsk/c0t2d0s6
...
FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? y
...
# mount /abcfs

This example removes UFS logging from the /abcfs file system, which uses the trans metadevice d64. The underlying slice for the master device is /dev/dsk/c0t2d0s6. When the trans metadevice is cleared, any information pertaining to the master device is rolled from the log prior to clearing the device. The entry for the file system in the /etc/vfstab file must be changed so that it references the block and raw devices containing the file system rather than the metadevice name for the trans metadevice. Because the file system is no longer a logging device, the fsck(1M) command is run before mounting it. The FIX? prompt is responded to with a y, then the file system is mounted on the underlying slice.