Re: nfs is stupid ("getfh failed")

Jamie Lokier (lk@tantalophile.demon.co.uk)
Fri, 7 Sep 2001 02:59:47 +0100


Michael Rothwell wrote:
> server# tail /var/log/messages
> Sep 6 09:37:43 gateway rpc.mountd: authenticated mount request from
> 192.168.1.133:933 for /export (/export)
> Sep 6 09:37:43 gateway rpc.mountd: getfh failed: Operation not permitted

I'm seeing this message quite often with one Linux 2.4.7 system
automounting another. As long as A has B's filesystem mounted, all is
ok. Then A times out, unmounts, and later wants to remount B's
filesystem. Then, sometimes, I see a message much like yours.

It doesn't seem to need a reboot to cause this problem, and the fix I
have found is to kill and restart the NFS server: /etc/init.d/nfs
restart.

I have no idea why it happens, or why restarting nfsd or mountd fixes it.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/