Re: 2.5.59 NFS server keeps local fs live after being stopped

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Thu Jan 30 2003 - 06:21:48 EST


On Wednesday January 29, mikpe@csd.uu.se wrote:
> Neil Brown writes:
> > On Wednesday January 29, mikpe@csd.uu.se wrote:
> > > Kernel 2.5.59. A local ext2 file system is mounted at $MNTPNT
> > > and exported through NFS V3. A client mounts and unmounts it,
> > > w/o any I/O in between. The NFS server is shut down. Nothing in
> > > user-space refers to $MNTPNT.
> > >
> > > The bug is that $MNTPNT now can't be unmounted. umount fails with
> > > "device is busy". A forced umount at shutdown fails with "device
> > > or resource busy" and "illegal seek", and leaves the underlying
> > > fs marked dirty.
> > >
> > > I can't say exactly when this began, but the problem is present
> > > in 2.5.59 and 2.5.55. 2.4.21-pre4 does not have this problem.
> >
> > How do you shut down the nfs server?
>
> /etc/rc.d/init.d/nfs stop
> which basically does a kill on rpc.mountd, nfsd, and rpc.quotad
> (standard RH8.0 user-space)
>
> I've checked that all *nfs* processes are gone.
>
> > Is anything in /proc/fs/nfs/export after the shutdown?
>
> Except for the two header lines, it's empty.

Ok, it defaintely sounds like a leak. I'll be back at my desk on
Monday and I will try to reproduce it and explore the situation then.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:23 EST