NFS Services Administrator's Guide (5900-1632, August 2011)
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 15 Common Error Messages encountered while using the cfsadmin command
ResolutionPossible CausesError Message
Indicates that you do not have write
permissions to the filesystem, where
“cfsadmin: Cannot create lock file /test/
mnt/c/.cfs_lock”
1. Delete the cache.
2. Recreate the cache directory
using the cfsadmin command.
the cache directory is being
created.
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. Enter the fsck command.
2. Try mount operation.
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>).
Table 16 Common Error Messages encountered while using the fsck command
ResolutionPossible CausesError Message
This error message indicates that /c is
not a cache directory.
“fsck -F cachefs Cannot open
lock file /test/c/.cfs_lock”
1. Delete the cache.
2. Recreate the cache directory using
the cfsadmin command.
This error message indicates that the
cache directory is in use. However, the
“Cache /c is in use and cannot be
modified”.
1. Check if a directory named /c exists
and also if it is a cache directory.
actual reason for this error may be that
2. If it is not a cache directory, delete
the directory.
the cache directory does not exist, or
that/c is not a cache directory.
3. If it is a cache directory, run fsck on
the cache directory.
4. If the problem still exists, use a
different cache directory.
This error message indicates that the
filesystem is mounted.
“Cache /c is in use.” 1. Unmount the filesystem.
2. Run the fsck command on the cache
directory.
Common Problems While Using CacheFS 91