Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
Making individual file settings for Cached Quick I/O persistent
You can make the enable or disable individual file settings for Cached Quick I/O
persistent across reboots and mounts by adding cache advisory entries in the
/etc/vx/qioadmin file.
Cache advisories set using the qioadmin command are stored as extended attributes
of the file in the inode. These settings persist across file system remounts and
system reboots, but these attributes are not backed up by the usual backup
methods, so they cannot be restored. Therefore, always be sure to reset cache
advisories after each file restore. This is not necessary if you maintain the cache
advisories for Quick I/O files in the /etc/vx/qioadmin file.
To enable or disable individual file settings for Cached Quick I/O automatically
after a reboot or mount
◆
Add cache advisory entries in the /etc/vx/qioadmin file as follows:
device=/dev/vx/dsk/<diskgroup>/<volume>
filename,OFF
filename,OFF
filename,OFF
filename,ON
For example, to make the Cached Quick I/O settings for individual files in the
/db01 file system persistent, edit the /etc/vx/qioadmin file similar to the
following:
#
# List of files to cache in /db01 file system
#
device=/dev/vx/dsk/PRODdg/db01
dbfile01,OFF
dbfile02,OFF
dbfile03,ON
Determining individual file settings for Cached Quick I/O using
qioadmin
You can determine whether Cached Quick I/O is enabled or disabled for individual
files by displaying the file's cache advisory setting using the qioadmin command.
Improving DB2 database performance with Veritas Cached Quick I/O
Enabling and disabling Cached Quick I/O for individual files
86