Re: NFS/Kernel Problem: getfh failed: Operation not permitted

From: Justin Piszcz
Date: Thu Mar 30 2006 - 09:28:03 EST


On Thu, 30 Mar 2006, Trond Myklebust wrote:

On Thu, 2006-03-30 at 08:19 -0500, Justin Piszcz wrote:
The error is: rpc.mountd: getfh failed: Operation not permitted

In order to fix this error, someone needs to run these commands on each
nfs server.

40 service nfs stop
41 rm -f /var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/state
/var/lib/xtab
42 touch /var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/state
/var/lib/xtab
43 chmod 644 /var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/state
/var/lib/xtab
44 service nfs start

http://www.ccs.neu.edu/home/johan/personal/linux.html

This issue seems to be more of an NFS issue than a kernel one, but I was
wondering what other people had to say about it. There are a lot of
responses and questions concerning this error on google, but VERY few
people have a response or method of fixing it, much less finding a
permanent fix.

Has anyone found a fix or work-around that does not require restarting
NFS?

Very few people ought to be running RH-9 out there given that the
official support expired several years ago.
Not running RH9, but running RHEL WS3, Taroon Update 4, however, the nfs-utils is 1.0.6-33EL, I know there were many fixes in 1.0.7+, could nfs-utils be the problem? The kernel version in question is 2.4.21-31.ELa1smp.


Are you still seeing this problem with 2.6 kernels with /proc/fs/nfsd
properly mounted?
Not using 2.6.


Cheers,
Trond

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