LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS has started acting very weird (https://www.linuxquestions.org/questions/linux-networking-3/nfs-has-started-acting-very-weird-918354/)

sjreilly 12-12-2011 10:57 AM

NFS has started acting very weird
 
I have a file server running Ubuntu 10.04 LTS and a number of CentOS 5 workstations whose /home is NFS'd from the server.
Up until Dec 2 (and for at least a year before) NFS had been working normally.
Then I started to see lockd errors in the log files;
statd: server rpc.statd not responding, timed out
lockd: cannot monitor <machine-name>

Not having changed any of the NFS setting on the server or clients I still do not know why this started to happen.

After a couple of days pulling my hair out as the users got more and more irate about not being able to log in to their KDE desktop (but GNOME worked), reinstalling the nfs packages, rebooting the server and all of the clients (a number of times), I decided to try mounting the clients as NFSv4 from the server (the server has always exported NFSv3 and NFSv4)
This worked!
But now I find that the server fails to mount (automount or nfs) exported dirs from other machines.
I have other Ubuntu 10.04 servers at the same site and they have no problems using nfs3 or automount.

The only changes to the default setting are
/etc/default/nfs-common has;
NEED_STATD=yes
NEED_IDMAPD=yes

/etc/default/nfs-kernel-server has;
RPCNFSDCOUNT=16

In desperation. What have I missed?

TIA,
Steve

smallpond 12-14-2011 08:39 AM

Sounds like statd is either not starting or is crashing on the server. Check if it is running, and check /var/log/messages for any interesting lines with either nfs or statd.


All times are GMT -5. The time now is 11:36 AM.