NFS Services Administrator's Guide (762805-001, March 2014)

packing-list
Specifies the name of the packing-list file.
The files specified in the packing list are now packed in the cache.
You can unpack files that you no longer require, using one of the following methods:
Using the -u option
To unpack a specific packed file or files from the cache directory, enter the following command:
cachefspack -u filename
where:
-u
Specifies that certain files are to be unpacked.
filename
Specifies the file to unpack.
Using the -U option
To unpack all the packed files in the cache, enter the following command:
cachefspack -U cache-dir
where:
-U
Specifies that you want to unpack all the packed files in the cache.
cache-dir
Specifies the cache directory that is to be unpacked.
For more information about the cachefspack command, see cachefspack(1M).
Forcing a Cache consistency check
CacheFS periodically checks the consistency of files when a user attempts to access the file stored
in the cache. This ensures that the cached directories and files are up to date with the back
filesystem. To check consistency, CacheFS compares the time stamp of the cached file with the
time stamp of the corresponding file on the back filesystem. If CacheFS detects a time difference,
the cached data is purged, and the updated data is retrieved from the back filesystem. If you have
not accessed any files, checks are not performed. Use of this option does not result in a sudden
storm” of consistency checks.
Forcing a consistency check for a specific Mount-Point
By default, CacheFS verifies the consistency of the cached contents against the back filesystem
every 30 seconds. However, if you want to disable these automatic consistency checks and instead
perform manual consistency checks you can mount the CacheFS filesystem with the demandconst
option, and then use the cfsadmin command to force a consistency check. To force a consistency
check on a specific mount-point, enter the following command:
cfsadmin -s mount_point
IMPORTANT: The -s option works only if CacheFS is mounted with the demandconst option.
For information and an example on how to switch between mount options, see “Switching Mount
Options” (page 85)
Forcing a Consistency Check for all the Mount-Points
To request for a consistency check on all the mount-points, enter the following command:
cfsadmin -s all
For information on cfsadmin options, see cfsadmin(1M).
Configuring and administering CacheFS 89