HP-UX System Administrator's Guide: Configuration Management
Troubleshooting NFS
Table 5-2 outlines some troubleshooting techniques for common NFS problems.
Table 5-2 Troubleshooting NFS
What To DoProblem
Verify the following on the client:
• The local directory exists on the client. If it does not exist, create it using mkdir.
For example:
# mkdir /opt/adobe
• LAN cable is intact and connected, and all connections are live.
• /etc/hosts exists and has “Requisite Entries” (page 85).
• /etc/fstab exists and has “Requisite Entries” (page 85), and the entries still
point to valid directories on the server.
• /etc/resolv.conf exists and has “Requisite Entries” (page 85) (DNS only)
• /etc/rc.config.d/nfsconf has NFS_CLIENT=1
View the file directly, or use HP SMH to see that NFS_CLIENT is enabled (see
“Enabling and Disabling the NFS Server and Client” (page 76)).
Verify the following on the servers:
• The directories the client is trying to mount exist and are listed in /etc/dfs/
dfstab.
• The client has permission to mount them.
See Step 3 under “Share a Directory Using HP-UX Commands” (page 77).
Individual client can’t
import from one or
more servers
Do the following on the server:
• Ensure that the server system is up and running, and that the LAN connection
between the server and clients is live (can you ping the clients from the server
and vice versa?).
• Ensure that /etc/rc.config.d/nfsconf has NFS_CORE=1, and
NFS_SERVER=1 or use HP SMH to see if NFS Server is enabled (see “Enabling
and Disabling the NFS Server and Client” (page 76)).
• Ensure that the file systems that the clients are trying to mount are listed in
/etc/dfs/dfstab. Check /etc/dfs/dfstab directly or use HP SMH (see
“Sharing an HP-UX Directory” (page 77)).
• Restart the NFS server. See “Enabling and Disabling the NFS Server and Client”
(page 76).
• If these remedies fail, and the configuration looks good (all the tests above),
then the server may not have booted correctly; try rebooting the server.
All clients can’t
import from a given
server
84 Configuring Networking