==> Regarding Re[2]: [autofs] autofs reload; "Peter Lojkin" <[EMAIL PROTECTED]> adds:

ia6432> On Fri, 26 Mar 2004 11:11:46 -0500 at 11:11:46 -0500, Jeff Moyer
ia6432> wrote: in autofs 4.1.0 (autofs4-20031201 in kernel) it tries to
ia6432> mount host1 even after 5 hours wait and nscd/nis restart.
>> Hmm, was the share ever umounted?  You can check this using either lsof
>> of fuser before you try to do the ls.  If this is the case, your only
>> option is to kill off users of the mount point and try again.

ia6432> yes this share was umounted a couple of days prior to auto.home nis
ia6432> map update.

What I meant was, at the time you did an ls, were you sure that there were
no applications accessing the directory.  If nothing was accessing the
directory (even if it is mounted), then autofs should be able reload just
fine.  If that's not the case, then I am certainly perplexed.

>> ia6432> so how to do correct autofs map reload?
>> Ok, the automount daemon shouldn't start up if the mountpoint is already
>> controlled by autofs.  Attached is a patch which addresses this.
>> Comments welcome.
ia6432> this should fix autofs reload or stop/start? i'll try...

No, this will prevent the automount daemon from starting more than once for
a given mount point.  Sorry if that was confusing.

-Jeff

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to