Tag: nfs

How-To: Troubleshoot NFS

How-To: Troubleshoot NFS

I’ve been using NFS ever since but not exactly the one to set up the server. When the ff. problem occurred, I never imagined I have very little idea as to where to start troubleshooting: Could not chdir to home directory /home/User: No such file or directory.

Well i know the directory’s shared via NFS from another server, so i had to start from there. So here’s a short list of things to check or do (Redhat/Fedora/CentOS based):

On the server:

  1. Make sure NFS is running. Two services should be running: portmap and the NFS service. Try to restart the services.
  2. portmap: /etc/init.d/portmap restart
    nfs: /etc/init.d/nfs restart
    Check if it runs at startup.
    chkconfig --list | grep nfs
    chkconfig nfs on

  3. Check /etc/exports. This is a list of shared volumes
  4. /export,sync,root_squash,no_wdelay,no_subtree_check,secure)

  5. Check /etc/hosts.allow and /etc/hosts.deny. Lists allowed remote and denied clients to access the server.
  6. ALL:

    Read More Read More