NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/38103: automounter (amd) failed to unmount busy filesystems on reboot - reboot will hang
The following reply was made to PR bin/38103; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost,
Wolfgang.Stukenbrock%nagler-company.com@localhost
Subject: Re: bin/38103: automounter (amd) failed to unmount busy
filesystems on reboot - reboot will hang
Date: Wed, 27 Feb 2008 16:42:27 +0100
At 13:20 Uhr +0000 27.02.2008, Matthias Scheler wrote:
> > /etc/amd.conf:
> >
> > [ global ]
> > map_type = nis
> > browsable_dirs = no
> > normalize_hostnames = yes
> > fully_qualified_hosts = yes
> > unmount_on_exit = yes
> > restart_mounts = yes
> > local_domain = nagler-company.com
>
> I disagree. I think the "unmount_on_exit" causes the problem. I'm not
> using that option and it works for me.
In fact, "unmount_on_exit = yes" does exactly what you wanted to
achieve by gracefully shutting down amd during system shutdown[1]:
Amd makes exactly one attempt to unmount each of the shares it
manages.
But, and there's the difference, then it terminates and leaves it to
the OS to clean up any remaining busy mounts.
> Anyway, I've backed out the change to "/etc/rc.d/amd" already.
Thank you. I believe that's the right thing to do.
> amd(8) is a lost cause and should be removed from NetBSD as
> soon as possible.
It works hassle-free here on 50+ machines, and I can see no
alternative out there for multi-platform installations. Please don't
flush the baby with the tub water.
hauke
[1] E. Zadok: Linux NFS and Automounter Administration, p. 278
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
Home |
Main Index |
Thread Index |
Old Index