lkml.org 
[lkml]   [2003]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2.5.59 NFS server keeps local fs live after being stopped
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.035 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site