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

From: Trond Myklebust
Date: Thu Mar 30 2006 - 11:09:38 EST


On Thu, 2006-03-30 at 10:13 -0500, Justin Piszcz wrote:
> On Thu, 30 Mar 2006, Trond Myklebust wrote:
>
> > On Thu, 2006-03-30 at 09:50 -0500, Justin Piszcz wrote:
> >> I tried an exportfs -rv and it did not help. Any other suggestions?
> >
> > Did the output from 'exportfs -rv' match with the contents
> > of /etc/exports? If so, did it also match with the contents
> > of /var/lib/nfs/xtab and /proc/fs/nfs/exports?
> >
> > Cheers,
> > Trond
> >
>
> In the /etc/exports file, I have an entry that looks like this:
> /path specific-host-001(ro,root_squash,no_sync)
> /path specific-host-002((ro,root_squash,no_sync)
> /path *(ro,root_squash,no_sync)
>
> So while there are only three entries, there are:
>
> cat /proc/fs/nfs/exports | wc -> 566
> cat /var/lib/nfs/xtab | wc -> 564

Yes, but do they match? /var/lib/nfs/xtab and /proc/fs/nfs/exports are
supposed to differ in that 'exportfs' will fill in a few default
options. The question is whether there are entries for
specific-host-001, specific-host-002,...

> Entries per file.
>
> Is this more of a kernel or nfsutils issue at this point?

More likely to be an nfs-utils issue.

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/