Re: 2.1.80 knfsd prevents clean unmounting of exported FS.
Thu, 22 Jan 1998 03:01:44 +0100

On Wed, Jan 21, 1998 at 10:54:25PM +0100, Bill Hawes wrote:
> Andi Kleen wrote:
> >
> > Hi,
> >
> > It seems the knfsd of 2.1.80 prevents the clean unmounting of exported
> > filesystems, even when there aren't any clients. The umount fails with
> > 'filesystem busy'.
> Hi Andi,
> You just need to revoke your exports before unmounting, which will also
> flush any remaining cached dentries.

Hello Bill,

Thanks for the tip. It is a little bit unintuive though. How about
automatically revoking all exports when the last kernel nfsd daemon
is killed (this would happen during shutdown)? I doubt that it would
be too much code/kernel bloat, and it would prevent some surprises
(especially for linux machines that don't use SYSV style startup scripts
where the concept of a 'service stop' is natural, but BSD style scripts