NFS Services Administrator's Guide
Contents
6
Unmounting a CacheFS Filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Deleting a Cache Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
5. Troubleshooting NFS Services
Common Problems with NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
NFS “Server Not Responding” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
“Access Denied” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
“Permission Denied” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
“Device Busy” Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
“Stale File Handle” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
A Program Hangs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Data is Lost Between the Client and the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
“Too Many Levels of Remote in Path” Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Common Problems while using Secure NFS with Kerberos . . . . . . . . . . . . . . . . . . . . 180
“Permission Denied” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Common Problems while using CacheFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
“Cannot open lock file /c/.cfs_lock” or “Cache /c is in use and cannot be modified”
Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
“cachefsstat: Cannot zero statistics” Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
“cfsadmin: Cannot create lock file /test/mnt/c/.cfs_lock” Message . . . . . . . . . . . . . . 182
“/test/c/.cfs_mnt_points is not a valid cache” Message . . . . . . . . . . . . . . . . . . . . . . . 183
“mount failed No space left on device” Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Performance Tuning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Diagnose NFS Performance Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Improve NFS Server Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Improving NFS Client Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Logging and Tracing of NFS Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
AutoFS Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
AutoFS Tracing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Logging for the Other NFS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Logging With nettl and netfmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Tracing With nettl and netfmt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199