VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Chapter 4, Using VERITAS Cached Quick I/O
Prerelease 8 September 2005, 8:54am Enabling Cached Quick I/O on the File System
113
# /sbin/fs/vxfs4.1/vxtunefs -s -o qio_cache_enable=1 /mount_point
Example
# /sbin/fs/vxfs4.1/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/vxfs4.1/vxtunefs -s -o qio_cache_enable=0 /mount_point
Example
# /sbin/fs/vxfs4.1/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 is the name of a block device
dgname is the name of the disk group
volname is the name of the volume