All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs mount discarding directory in mount point
@ 2006-11-14  7:24 Ulrich Windl
  2006-11-14 14:22 ` Ian Kent
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Windl @ 2006-11-14  7:24 UTC (permalink / raw)
  To: autofs

Hi,

I have a problem where autofs (Novell SLES10, autofs-4.1.4-23.4) discards the 
first and only directory for an NFS mount; for two directories the thing seems to 
work OK. I've browsed the sources, but couldn't easily find the problem.

The problem is that "server:/foo" which should be mounted to "/net/server/foo" is 
actually mounted to "/net/server" (with "foo's content" in "server")

Here's my trace:

automount[24703]: lookup(program): server -> -fstype=nfs,hard,intr,nodev,nosuid     
/foo server:/foo
automount[24703]: parse(sun): core of entry: 
options=fstype=nfs,hard,intr,nodev,nosuid, loc=/foo server:/foo
automount[24703]: parse(sun): mounting root /net, mountpoint server, what /foo 
server:/foo, fstype nfs, options hard,intr,nodev,nosuid
Nov  9 16:56:47 rksapas03 automount[24703]: mount(nfs): root=/net name=server
what=/foo server:/foo, fstype=nfs, options=hard,intr,nodev,nosuid
automount[24703]: mount(nfs): nfs options="hard,intr,nodev,nosuid", nosymlink=0, 
ro=0
automount[24703]: mount(nfs): host /foo: lookup failure
automount[24703]: mount(nfs): winner = server local = 0
automount[24703]: mount(nfs): from /foo server:/foo elected server:/foo
automount[24703]: mount(nfs): calling mkdir_path /net/server
automount[24703]: mount(nfs): calling mount -t nfs -s -o hard,intr,nodev,nosuid 
server:/foo /net/server
automount[24703]: mount(nfs): mounted server:/foo on /net/server


(Actual names replaced for clarity)

Regards,
Ulrich
P.S. I'm not subscribed to this list.

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

end of thread, other threads:[~2006-11-14 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14  7:24 autofs mount discarding directory in mount point Ulrich Windl
2006-11-14 14:22 ` Ian Kent

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.