On Mon, 24 Oct 2005, Rainer Krienke wrote:

> On Sonntag 23 Oktober 2005 06:00, you wrote:
> > On Tue, 18 Oct 2005, Rainer Krienke wrote:
> > > Hello,
> > >
> > > using the autofs package from suse10.0 (autofs-4.1.4-6.i586.rpm; autofs4
> > > kernel module, Kernel2.6.13-15) NFS mounts of user directories fail when
> > > using indirect mounts. The problem can be reproduced in a certrain setup
> > > describes below. Because of this, the description is a bit lenghty.
> >
> > Here is a patch to add a configure option to disable locking when calling
> > mount. It also adds a patch for mount that I hope will prevent mtab
> > coruption. Obviousy autofs needs to be built with the option added to
> > configure.
> >
> 
> I tried the patch (compiled with --disable-mount-locking) on a opensuse10 
> client. For me it seems to work. I wrote a script that randomly selects users 
> from our NIS auto.home map and accesses the home directory. After a while I 
> had about 4000 mounts on the client (99.9% bind mounts of course) and nothing 
> went wrong as far as I saw. The most important thing for me is of course that 
> using this patch my solution for hierarchcal mounts of the home directories 
> does work again.

Great.

I'll merge the configure option into the next release.

You understand that this will not be the default because of problems that 
other people might have and the dependence on mount locking working.

Perhaps in time....

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to