NFS Services Administrator's Guide

Configuring and Administering a Cache Filesystem
Administering CacheFS
Chapter 4 157
noconst
This option disables cache consistency checking. By default, CacheFS
is periodically checked for consistency. However, you must use this
option only if you do not intend to modify the back filesystem.
weakconst
This option verifies the cache consistency with the NFS client's copy
of file attributes.
Consistency checks are performed file by file, as files are accessed.
Forcing a Consistency Check for a Specific Mount Point
To request for a consistency check on a specific mount point, enter the
following command:
cfsadmin -s
mount_point
IMPORTANT The -s option works only if the CacheFS filesystem is mounted with the
demandconst option.
Forcing a Consistency Check for all Mount Points
The cfsadmin command is used with the -s option to request a manual
cache consistency check. Each file in the specified cache filesystem is
checked for consistency with its corresponding file in the back filesystem.
To request for a consistency check on all mount points, enter the
following command:
cfsadmin -s all
For information on cfsadmin options, see cfsadmin (1M).
Displaying CacheFS Statistics
The cachefsstat command displays the statistical information about
the mounted cache filesystem. This includes information about the
number of times an attempt to reference data that is cached is made
(cache hit), and the number of times an attempt to reference data that is