Solaris Volume Manager Administration Guide

ProcedureHow to Detach a Log Device from a Transactional Volume

  1. Check Prerequisites for Creating Solaris Volume Manager Components and Background Information for Transactional Volumes.

  2. Unmount the UFS file system for which you want to disable logging or change the log device.

  3. Detach the log device from the transactional volume by using one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node, then choose the transactional volume from the listing. Right-click the volume, and choose Properties. For more information, see the online help.

    • Use the following form of the metadetach command:

      metadetach master-volume 

      master-volume is the name of the transactional volume that contains the file system that is being logged.

      See the metadetach(1M) man page for more information.

  4. Remount the file system.

Example 19–6 Detaching a Log Device from a Transactional Volume

This example show a log device, the slice (c1t1d0s1), being detached from the transactional volume d1, which is mounted on /fs2.

# umount /fs2
# metadetach d1
d1: log device c1t1d0s1 is detached
# mount /fs2