Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

To enable the qio_cache_enable flag for a file system
Use the vxtunefs command as follows:
# /sbin/fs/vxfs5.0/vxtunefs -s -o qio_cache_enable=1 /
mount_point
For example:
# /sbin/fs/vxfs5.0/vxtunefs -s -o qio_cache_enable=1 /db02
where /db02 is a VxFS file system containing the Quick I/O files and setting
the qio_cache_enable flag to 1 enables Cached Quick I/O. This command
enables caching for all the Quick I/O files on this file system.
To disable the flag on the same file system
Use the vxtunefs command as follows:
# /sbin/fs/vxfs5.0/vxtunefs -s -o qio_cache_enable=0 /mount_point
For example:
# /sbin/fs/vxfs5.0/vxtunefs -s -o qio_cache_enable=0 /db02
where /db02 is a VxFS file system containing the Quick I/O files and setting
the qio_cache_enable flag to 0 disables Cached Quick I/O. This command
disables caching for all the Quick I/O files on this file system.
Making Cached Quick I/O settings persistent across reboots and mounts
You can make the Cached Quick I/O system setting persistent across reboots and
mounts by adding a file system entry in the /etc/vx/tunefstab file.
Note: The tunefstab file is a user-created file. For information on how to create
the file and add tuning parameters, see the tunefstab (4) manual page.
To enable a file system after rebooting
Put the file system in the /etc/vx/tunefstab file and set the flag entry:
/dev/vx/dsk/dgname/volname qio_cache_enable=1
where:
/dev/vx/dsk/dgname/volname is the name of a block device
dgname is the name of the disk group
105Using Veritas Cached Quick I/O
Enabling Cached Quick I/O on a file system