From: "J. Bruce Fields" Subject: Re: [NFS] troubles with nohide -- crossmnt Date: Thu, 7 Feb 2008 18:20:24 -0500 Message-ID: <20080207232024.GD25374@fieldses.org> References: <20080207213605.GB3034@example.org> <20080207164110.374a5ab0@tleilax.poochiereds.net> <20080207215251.GC3034@example.org> <47AB885C.9080708@RedHat.com> <20080207225256.GC25374@fieldses.org> <1202426008.18376.19.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g@public.gmane.org, nfs@lists.sourceforge.net, Steve Dickson , Jeff Layton To: Trond Myklebust Return-path: Received: from neil.brown.name ([220.233.11.133]:54241 "EHLO neil.brown.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760297AbYBGXUt (ORCPT ); Thu, 7 Feb 2008 18:20:49 -0500 Received: from brown by neil.brown.name with local (Exim 4.63) (envelope-from ) id 1JNG2x-0004gS-RZ for linux-nfs@vger.kernel.org; Fri, 08 Feb 2008 10:20:47 +1100 In-Reply-To: <1202426008.18376.19.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Feb 07, 2008 at 06:13:28PM -0500, Trond Myklebust wrote: > > On Thu, 2008-02-07 at 17:52 -0500, J. Bruce Fields wrote: > > On Thu, Feb 07, 2008 at 05:38:20PM -0500, Steve Dickson wrote: > > > > > > > > > Pascal A. Dupuis wrote: > > > > On Thu, Feb 07, 2008 at 04:41:10PM -0500, Jeff Layton wrote: > > > > > > > >>> /home/user/archive 192.168.1.10(rw,subtree_check,fsid=0) > > > >>> /home/user 192.168.1.10(rw,subtree_check,fsid=0,crossmnt) > > > >>> > > > >> You shouldn't have 2 exports with the same fsid= option. They > > > >> should be different. I'd suggest giving /home/user fsid=0 > > > >> and /home/user/archive fsid=1 (or something else). > > > >> > > > > > > > > OK. It made the trick. I didn't notice that both exported FS had the > > > > same fsid. Thanks. Maybe this should be included in the FAQS ? > > > We are working on changing things so the fsid=0 is not needed... > > > > More helpful than a FAQ entry might just be a warning from exportfs or > > mountd or whatever--it shouldn't be hard to check for the above. > > > > I've added this to the list at: > > > > http://wiki.linux-nfs.org/wiki/index.php/To_do > > It might not be a bad idea to also warn if we detect that the user > changes the fsid mapping in /etc/exports. If there are active clients at > the time of the modification, then that will cause trouble for them. Sure. I've added that too. (Lots of easy stuff on that list! Help yourselves! OK, probably some dumb or out-of-date stuff there too--may want to ask first.) --b. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@lists.sourceforge.net is being discontinued. Please subscribe to linux-nfs@vger.kernel.org instead. http://vger.kernel.org/vger-lists.html#linux-nfs