NFS Services Administrator's Guide
Troubleshooting NFS Services
Common Problems with NFS
Chapter 8300
allows only one user at a time to modify a file or directory, so one
user cannot remove files another user is accessing. Type man 5
rcsintro for more information.
❏ If someone has restored the server’s file systems from backup or
issued the fsirand command on the server, follow these steps on
each of the NFS clients to prevent stale file handles by restarting
NFS:
1. Issue the mount(1M) command with no options, to get a list of all
the mounted file systems on the client:
/usr/sbin/mount
2. For every NFS-mounted directory listed by the mount command,
issue the following command to determine whether the directory
is currently in use:
/usr/sbin/fuser -cu local_mount_point
This command lists the process IDs and user names of everyone
using the mounted directory.
3. Warn any users to cd out of the directory, and kill any processes
that are using the directory, or wait until the processes
terminate. You can use the following command to kill all
processes using the directory:
/usr/sbin/fuser -ck local_mount_point
4. Issue the following command on the client to unmount all
NFS-mounted directories:
/usr/sbin/umount -at nfs
5. Issue the following commands to restart the NFS client:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start