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

modifies: 85727
garbage collection: 0
You can run the cachefsstat command with the -z option to reinitialize CacheFS statistics.
You must be a superuser to use the -z option.
NOTE: If you do not specify the CacheFS mount-point, statistics for all CacheFS mount-points are
displayed.
For more information about the cachefsstat command, see cachefsstat(1M).
Viewing the working set (Cache) size
In the following example, /cfs_mnt1 is the CacheFS mount-point and /tmp/logfile refers to
the logfile created when you enable logging. To view the memory usage, enter the following
command:
cachefswssize /tmp/logfile
An output similar to the following is displayed:
/cfs_mnt1
end size: 40k
high water size: 40k
total for cache
Initial size: 640k
end size: 40k
To view the operations performed in ASCII format, enter the following command:
cachefswssize -a /tmp/logfile
An output similar to the following is displayed:
1/0 0:00 0 Mount e000000245e31080 411 65536 256
/cfs_mnt1 (cachefs1:_cache_exp:_cfs_mnt1)
1/0 0:00 0 Mdcreate e000000245e31080 <fid> 517500609495040 1
1/0 0:00 0 Filldir e000000245e31080 <fid> 517500609495040 8192
1/0 0:00 0 Nocache e000000245e31080 <fid> 517500609495040
1/0 0:00 0 Mkdir e000000245e31080 <fid> 517264386293760 0
Where:
_cfs_mnt1
Specifies the CacheFS mount-point
cachefs1
Specifies the server name
_cache_exp
Specifies the mounted directory which is displayed as /cache_exp
Common problems while using CacheFS
This section discusses the common problems you may encounter while using CacheFS. It also
describes steps to overcome these problems. The following tables list the error messages, their
cause, and how to resolve these errors.
Common problems while using CacheFS 93