From: Trond Myklebust Subject: Re: NFS/Kernel Problem: getfh failed: Operation not permitted Date: Thu, 30 Mar 2006 11:12:31 -0500 Message-ID: <1143735152.8093.13.camel@lade.trondhjem.org> References: <1143728720.8074.41.camel@lade.trondhjem.org> <1143729766.8074.49.camel@lade.trondhjem.org> <1143731364.8074.53.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain Cc: linux-kernel@vger.kernel.org, nfs@lists.sourceforge.net Return-path: To: Justin Piszcz In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: 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