NFS Services Administrator's Guide HP-UX 11i version 3

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.
Table 4-2 Common Error Messages encountered while using the cfsadmin command
ResolutionPossible CausesError Message
1. Delete the cache.
2. Recreate the cache directory
using the cfsadmin command.
Indicates that you do not have
write permissions to the filesystem,
where the cache directory is being
created.
“cfsadmin: Cannot create lock file /test/
mnt/c/.cfs_lock
1. Enter the fsck command.
2. Try mount operation.
The Cache directory may not be
clean.
“mount failed No space left on device”
(There could be a message in syslog that
states: "WARNING: cacheFS: cache not
clean. Run fsck") .
1. Increase the CacheFS
parameters using the -u option
with the cfsadmin command.
For more information, see
cfsadmin(1M).
The value of the cache parameters,
used to create the cache directory,
must be modified.
(There could be a message in syslog that
states: “WARNING: cacheFS: not enough
space to create <fscache directory name>).
Common Problems While Using CacheFS 93