Subject: Re: Can't umount some ext2fs (was Re: panic mounting ext2fs)
To: Brian Grayson \(home\) <bgrayson@austin.rr.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 11/22/2001 20:18:30
On Thu, Nov 22, 2001 at 07:58:22AM -0600, Brian Grayson (home) wrote:
> On Wed, Nov 21, 2001 at 01:30:42PM +0100, Michael Rauch wrote:
> > Hi, 
> > 
> > On Wed, Nov 21, 2001 at 12:22:57AM -0600, Brian Grayson (home) wrote:
> > >   I'm running a -current kernel from a SUP around Nov 11.  I'm getting
> > > the following panic:
> > > 
> > > panic: kernel diagnostic assertion "bn >= NDADDR" failed: file "/home/src/sys/ar
> > > ch/i386/compile/K97/../../../../ufs/ufs/ufs_bmap.c", line 262
> > > [...]
> > 
> > try to update the source. There was a bug at about this time, which has 
> > been fixed a few days later.
> 
>   That did it!  But now it won't let me umount that, even when there
> are no processes accessing it.
> 
> # mount /dev/wd0l /mnt
> # du /mnt
> ...
> # umount /mnt
> umount: /mnt: Device busy
> # lsof | grep mnt
> #


Does fstat say the same ?
I found lsof doesn't always display all the files.

> 
>   Very strange.  I forcibly umount'd, and redid this a few times, so
> it's repeatable.  I can successfully mount, du, and umount another
> ext2fs partition, but not this one.  Any ideas?

Do you have devices node on it ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--