Re: nfs is stupid ("getfh failed")

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Tue Sep 11 2001 - 02:06:26 EST


On Friday September 7, lk@tantalophile.demon.co.uk wrote:
> 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.

Show me your /etc/exports....

If you export a directory and a subdirectory of that directory - both
on the same filesysem, you can get this.
If you export a directory to both an IP address (or subnet) and a
hostname (or wildcard or netgroup) this can also happen.

NeilBrown
-
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/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:31 EST