* [NFS] troubles with nohide -- crossmnt
@ 2008-02-07 21:36 Pascal A. Dupuis
[not found] ` <20080207213605.GB3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Pascal A. Dupuis @ 2008-02-07 21:36 UTC (permalink / raw)
To: nfs
Hello,
I'd like to export two filesystems, mounted on one another. The setup is :
some partition mounted as /home/user (parent)
another one as /home/user/archive (child)
The export file contains:
/home/user/archive 192.168.1.10(rw,subtree_check,fsid=0)
/home/user 192.168.1.10(rw,subtree_check,fsid=0,crossmnt)
I tried:
-setting the 'nohide' option on the child
-setting the crossmnt on the parent
-permuting the order
Whatever case I try, on the client I ALWAYS see the child directory,
and not the parent. Any clue ?
Both systems are linux-2.6.24, debian SID, nfs-kernel-package for the
server, nfsv4 compiled as a module.
TIA
Pascal Dupuis
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
[not found] ` <20080207213605.GB3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
@ 2008-02-07 21:41 ` Jeff Layton
[not found] ` <20080207164110.374a5ab0-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Jeff Layton @ 2008-02-07 21:41 UTC (permalink / raw)
To: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g; +Cc: nfs
On Thu, 7 Feb 2008 22:36:05 +0100
"Pascal A. Dupuis" <Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g@public.gmane.org> wrote:
> Hello,
>
> I'd like to export two filesystems, mounted on one another. The setup is :
>
> some partition mounted as /home/user (parent)
> another one as /home/user/archive (child)
>
> The export file contains:
> /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).
> I tried:
> -setting the 'nohide' option on the child
> -setting the crossmnt on the parent
> -permuting the order
>
> Whatever case I try, on the client I ALWAYS see the child directory,
> and not the parent. Any clue ?
>
> Both systems are linux-2.6.24, debian SID, nfs-kernel-package for the
> server, nfsv4 compiled as a module.
>
> TIA
>
> Pascal Dupuis
>
> -------------------------------------------------------------------------
> 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
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Jeff Layton <jlayton@redhat.com>
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
[not found] ` <20080207164110.374a5ab0-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2008-02-07 21:52 ` Pascal A. Dupuis
[not found] ` <20080207215251.GC3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Pascal A. Dupuis @ 2008-02-07 21:52 UTC (permalink / raw)
To: Jeff Layton; +Cc: nfs
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 ?
Regards
Pascal Dupuis
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
[not found] ` <20080207215251.GC3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
@ 2008-02-07 22:38 ` Steve Dickson
[not found] ` <47AB885C.9080708-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Steve Dickson @ 2008-02-07 22:38 UTC (permalink / raw)
To: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g; +Cc: nfs, Jeff Layton
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...
steved.
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
[not found] ` <47AB885C.9080708-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
@ 2008-02-07 22:52 ` J. Bruce Fields
2008-02-07 23:13 ` Trond Myklebust
0 siblings, 1 reply; 7+ messages in thread
From: J. Bruce Fields @ 2008-02-07 22:52 UTC (permalink / raw)
To: Steve Dickson; +Cc: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g, nfs, Jeff Layton
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
--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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
2008-02-07 22:52 ` J. Bruce Fields
@ 2008-02-07 23:13 ` Trond Myklebust
[not found] ` <1202426008.18376.19.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Trond Myklebust @ 2008-02-07 23:13 UTC (permalink / raw)
To: J. Bruce Fields
Cc: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g, nfs, Steve Dickson,
Jeff Layton
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.
Cheers
Trond
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [NFS] troubles with nohide -- crossmnt
[not found] ` <1202426008.18376.19.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
@ 2008-02-07 23:20 ` J. Bruce Fields
0 siblings, 0 replies; 7+ messages in thread
From: J. Bruce Fields @ 2008-02-07 23:20 UTC (permalink / raw)
To: Trond Myklebust
Cc: Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g, nfs, Steve Dickson,
Jeff Layton
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-07 23:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07 21:36 [NFS] troubles with nohide -- crossmnt Pascal A. Dupuis
[not found] ` <20080207213605.GB3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
2008-02-07 21:41 ` Jeff Layton
[not found] ` <20080207164110.374a5ab0-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2008-02-07 21:52 ` Pascal A. Dupuis
[not found] ` <20080207215251.GC3034-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
2008-02-07 22:38 ` Steve Dickson
[not found] ` <47AB885C.9080708-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2008-02-07 22:52 ` J. Bruce Fields
2008-02-07 23:13 ` Trond Myklebust
[not found] ` <1202426008.18376.19.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2008-02-07 23:20 ` J. Bruce Fields
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.