Unmount the UFS file system for which you want to enable logging.
Attach a log device to 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 metattach command:
metattach master-volume logging-volume
master-volume is the name of the transactional volume that contains the file system to be logged.
logging-volume is the name of the volume or slice that should contain the log.
See the metattach(1M) man page for more information.
# metattach d1 d23
Remount the file system.
This example shows a log device, the slice (c1t1d0s1), being attached to the transactional volume d1, which is mounted on /fs2.
# umount /fs2 # metattach d1 c1t1d0s1 d1: log device d0c1t1d0s1 is attached # mount /fs2