NFS Services Administrator's Guide

Troubleshooting NFS Services
Common Problems while using CacheFS
Chapter 5182
Common Problems while using CacheFS
This section lists the following common problems encountered with
CacheFS and suggests ways to correct them.
“Cannot open lock file /c/.cfs_lock” “Cache /c is in use and
cannot be modified” Message
“cachefsstat: Cannot zero statistics” Message
“cfsadmin: Cannot create lock file /test/mnt/c/.cfs_lock
Message
“Cannot open lock file /test/c/.cfs_lock” Message
“/test/c/.cfs_mnt_points is not a valid cache” Message
“mount failed No space left on device” Message
“Cannot open lock file /c/.cfs_lock” or “Cache /c is
in use and cannot be modified” Message
The error indicates that cache directory is in use. However, the
actual reason for this error may be that the cache directory does not
exist or "/c" may not be a cache directory.
Check if a directory named "/c" exists and if it is a cache directory. If
not, delete the directory "/c" or use a different cache directory
“cachefsstat: Cannot zero statistics” Message
•Only a root user can zero-out the statistics. So the user who used
this command was not a superuser. Login as the superuser to run
this command.
“cfsadmin: Cannot create lock file
/test/mnt/c/.cfs_lock” Message
Indicates that you do not have write permissions to the filesystem
where cache directory is being created.