All of lore.kernel.org
 help / color / mirror / Atom feed
* nested automounts: bind and nfs
@ 2007-10-01 14:08 Lukas Kolbe
  2007-10-01 14:17 ` Lukas Kolbe
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Lukas Kolbe @ 2007-10-01 14:08 UTC (permalink / raw)
  To: autofs

Hi!

I'm having the problem that was described last year on this list:
http://osdir.com/ml/linux.kernel.autofs/2006-08/msg00040.html

Given the following mount map:

eclipse-3.1 \
  /bin          -rw,nosuid,grpid          fileserver:/volumes/vol1/eclipse-3.1/bin.linx86 \

eclipse \
  /bin          -rw,nosuid,grpid          :/vol/eclipse-3.1/bin \

We can't access /vol/eclipse/bin on the client if /vol/eclipse-3.1/bin
is not already mounted. The log says:


Oct  1 15:58:45 lahn automount[3329]: attempting to mount entry /vol/eclipse
Oct  1 15:58:45 lahn automount[3329]: mounted /vol/eclipse
Oct  1 15:58:45 lahn automount[3329]: attempting to mount entry /vol/eclipse/bin
Oct  1 15:58:45 lahn automount[3329]: mount(nfs): nfs: mount failure :/vol/eclipse-3.1/bin on /vol/eclipse/bin
Oct  1 15:58:45 lahn automount[3329]: failed to mount /vol/eclipse/bin

This fails, after a simple ls -la /vol/eclipse/bin.

Now we're doing ls -la /vol/eclipse-3.1/bin:

Oct  1 15:59:04 lahn automount[3329]: attempting to mount entry /vol/eclipse-3.1
Oct  1 15:59:04 lahn automount[3329]: mounted /vol/eclipse-3.1
Oct  1 15:59:04 lahn automount[3329]: attempting to mount entry /vol/eclipse-3.1/bin
Oct  1 15:59:04 lahn automount[3329]: mount(nfs): mounted fileserver:/volumes/vol1/eclipse-3.1/bin.linx86 on /vol/eclipse-3.1/bin
Oct  1 15:59:04 lahn automount[3329]: mounted /vol/eclipse-3.1/bin

And after that, ls -la /vol/eclipse/bin of course succeeds:

Oct  1 15:59:06 lahn automount[3329]: attempting to mount entry /vol/eclipse/bin
Oct  1 15:59:06 lahn automount[3329]: mounted /vol/eclipse/bin

Should I try the patch mentioned in the thread last year? I'm currently
using kernel 2.6.18 (from debian, we're bound to that one since it
supports xen), autofs-5.0.2 with all patches from kernel.org applied.

-- 
Lukas

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-11-08 16:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-01 14:08 nested automounts: bind and nfs Lukas Kolbe
2007-10-01 14:17 ` Lukas Kolbe
2007-10-02  4:53 ` Ian Kent
2007-10-02 10:25   ` Lukas Kolbe
     [not found]   ` <1191321007.27255.12.camel@localhost>
     [not found]     ` <1191332917.26331.171.camel@raven.themaw.net>
2007-10-02 14:40       ` Lukas Kolbe
2007-10-10 14:15       ` Lukas Kolbe
2007-10-10 14:34         ` Lukas Kolbe
2007-10-10 15:15         ` Ian Kent
2007-10-10 15:29           ` Lukas Kolbe
2007-10-10 16:47             ` Ian Kent
2007-10-10 17:02               ` Lukas Kolbe
2007-10-11  8:45                 ` Ian Kent
2007-10-11  9:11                   ` Ian Kent
2007-10-11 10:49                   ` Lukas Kolbe
2007-10-11 11:43                     ` Ian Kent
2007-10-11 13:43                       ` Success! (was: Re: nested automounts: bind and nfs) Lukas Kolbe
2007-10-11 14:36                         ` Ian Kent
2007-10-17 10:19                   ` nested automounts: bind and nfs Lukas Kolbe
2007-10-11  3:13         ` Ian Kent
2007-10-11  8:24           ` Lukas Kolbe
2007-10-02  5:03 ` Ian Kent
2007-11-08 16:44 ` Lukas Kolbe

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.