VERITAS File SystemÖ 3.5 (HP OnlineJFS/JFS3.5) AdministratorÆs Guide (December 2002)

Chapter 9
VERITAS QuickLog
VxFS Administration Using QuickLog
91
VxFS Administration Using QuickLog
Enabling a QuickLog Device
There are two methods to enable logging of a VxFS file system by QuickLog: the QuickLog utility qlogenable
and a VxFS special mount option.
The -o qlog= option to the mount command is provided by VxFS to enable logging by QuickLog. This can be
used in conjunction with the -o remount mount option to enable QuickLog or change QuickLog devices for
active file systems.
From the command line, remount the VxFS file system using qlogenable:
# qlogenable [
qlog_device
] /
mountpoint
or by using the VxFS -o remount option:
# mount -F vxfs -o remount,qlog=[
qlog_device
]
special
/
mountpoint
The use of either method is transparent to users and does not stop or unmount mounted file systems. When
no QuickLog device name is specified, QuickLog automatically assigns one of the idle or least loaded
QuickLog devices in the same disk group as that of the file system.
To ensure that QuickLog is enabled for a specific VxFS file system after every system reboot, add “qlog=” to
the mount option field in the file /etc/fstab for that file system entry, as shown in the following example:
# devicedevicemountFS fsck mountmount
# to mountto fsck point typepass at boot options
#
/dev/vx/dsk/vol1 /dev/vx/rdsk/vol1 /vol1 vxfs 1 no qlog=
If no QuickLog device name is selected after the qlog= argument, QuickLog automatically assigns an idle or
least loaded QuickLog device.
Disabling a QuickLog Device
To disable logging by QuickLog without unmounting a VxFS file system, use the qlogdisable command:
# qlogdisable /mountpoint
Make sure to disable QuickLog devices for all mounted and logged VxFS file systems and detach all QuickLog
volumes before unloading the QuickLog driver (see qlogdetach (1M)).