HP-UX System Administrator's Guide: Configuration Management

Table 5-2 Troubleshooting NFS (continued)
What To DoProblem
On the clients:
Use the rmsf command with the -x and -H options to remove stale device
special files. For details, see rmsf(1M).
or …
Ensure that there are no open files in the affected file systems; then try
unmounting and remounting them.
Try this first if /etc/dfs/dfstab has been changed on the server (directly
or via HP SMH).
On the server:
Run:
# /usr/sbin/shareall
Try this first if server has just rebooted.
Stale NFS file
handle
This is common on
NFS clients after a
server has crashed, or
been rebooted before
clients have
unmounted NFS file
systems, or after
/etc/dfs/dfstab
has been changed on
the server.
Check that all files are closed in the file system to be unmounted, and that it
is not anyone’s working directory on the system (host) from which it is to be
unmounted. Note that although fuser(1M) can be used to check for open files,
it is not able to detect files in a different directory opened within an editor.
Try this if the directory is shared:
# /usr/sbin/unshare dir
On an NFS server,
umount fails.
Requisite Entries
The following entries are required in /etc/hosts, /etc/fstab, and /etc/
resolv.conf:
/etc/hosts:
System host name and IP address, for example:
12.0.14.123 fredsys fredsys.mysite.myco.com
An entry similar to the following:
127.0.0.1 localhost loopback #[no SMTP]
/etc/fstab:
For standard mounts, an entry for each imported file system. See
“Standard-Mount a Shared File System Using HP-UX Commands” (page 82).
/etc/resolv.conf (needed for Domain Name Service (DNS) only):
The name of the domain in which this system resides, for example:
domain mysite.myco.com
At least one name server, for example:
nameserver 12.0.14.165
Configuring the Network File System (NFS) 85