On Mon, 2008-12-08 at 11:11 +0100, Martin Vogt wrote:
> Martin Vogt wrote:
> > Ian Kent wrote:
> > 
> >> You would need to enable debug logging.
> >> autofs and syslog setup instructions for this can be seen at
> >> http://people.redhat.com/jmoyer.
> >>
> > 
> > I think I can simply start it with "-d" ?.
> > As from the page this logging is meant to be used when
> > the daemon ist started without debugging, but I can start
> > it directly and can directly hang autofs.
> > 
> > Hm, I think I will write a small script for you, which
> > lets you simply reproduce this behaviour.
> > 
> > (A script with 2000 direct bind mount :)
> > 
> 
> Hello list,
> 
> the following script:

There are a couple more problems with this as well.

> 
> #!/bin/sh
> NET=/net/pxe1/var/tmp
> for i in `seq 1 2025` ; do
>     echo "/homes/vogt${i} -fstype=bind,ro :${NET}"
> done

There is no file system type "bind".

This possibly works because the ":" escape will cause autofs to attempt
a bind mount and since the "-s" option is used for the mount the invalid
options will be ignored.

Also, if /net/pxe1/var/tmp is mounted from remote host and the
directories /net/pxe1/var/tmp/vogt${i} don't already exist mounts should
fail but your example to duplicate the problem doesn't mention this at
all. Come to think of it that is likely the case if this is local as
well.

These comments may seem like I'm being picky but if we're to duplicate a
problem then the setup "must" be completely specified so we both work
with identical setups or we will end up going around in circles each
with potentially different and inconsistent results.

> 
> creates a direct mount map with 2025 direct mount.
> (I assume you know how to configure autofs how to use this map :)
> (Please really use a remote host for the mounts when you trigger
> it, for "localhost" you will find another bug, but currently I'm focused
> on the remote part, so really use a remote machine here)
> 
> Then run a find . -maxdepth 2 to really trigger the mounts.
> These are the bugs:
> 
> - SuSE 11.1 rc1 hangs on the 1024th mount(autofs-5.0.3+patches)
> - RHEL52 works (autofs-5.0.1-rc1) on mounting
> - RHEL52 has a kernel panic on unmounting (see screenshot attachment)
> 
> (started with: automount -d -f -t 600 )
> 
> For the kernel panic I started automount in the forground and hit CTRL-C
> when it was done with mounting, then after a long time, when it tries
> to umount the mounts it gives the kernel panic.
> 
> regards,
> 
> Martin
> 
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to