Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 20:46:59 +0200
From:      Oliver Fuchs <oliverfuchs@onlinehome.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: ext2fs cannot be umounted
Message-ID:  <20041012184659.GC805@oliverfuchs.ath.cx>
In-Reply-To: <20041012141832.GA44106@werd>
References:  <20041012091741.GA709@bob.bob.de> <20041012141832.GA44106@werd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Oct 2004, Radek Kozlowski wrote:

> On Tue, Oct 12, 2004 at 11:17:41AM +0200, Oliver Fuchs wrote:
> > Hi,
> > I am using FreeBSD 5.2.1-RELEASE and have compiled my kernel with optinion:
> > options		EXT2FS
> > 
> > In my /etc/fstab I have added:
> > /dev/ad0s6		/mnt/debian	ext2fs	rw	0	0
> > 
> > to mount my debian box.
> > 
> > everything works fine except one thing:
> > Shutting down via shutdown -p now ends up in the message:
> > 
> > syncing discs, buffer remaining 403938383838383838383
> > .....giving up on 38
> > 
> > This means that FreeBSD is not able to umount/sync the mounted partition
> > clearly.
> > I have tried in /etc/fstab also the sync option but it ends up with the
> > "syncing discs giving up" error message.
> > Only if I umount the ext2fs partition gives me a clean shutdown.
> > 
> > What can be done or how can I force the system to umount ext2fs partition
> > before shutting down?
> 
> It's a known bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675
> 
> There's a workaround suggested in this thread, which you already seem to
> know:
> http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035316.html
> 
> -Radek

Ah ... I missed this one ... but good to know that it is a bug ... my first
step/workaround was to set the noauto option in fstab.
Now I have to find a way to bring the system to umount my ext2fs partition
(it is not only because of the syncing discs error but also my debian box
will run later on after rebooting the fsck check for about 10 minutes :-( ).
I was trying to bring the kernel automounter amd to mount the debian
partition but still did not succeed.
My second idea was to run a chron-job to umount my partition every 2 minutes
or so ... or set an alias on shutdown (with something like alias shutdown
umount /mnt/debian , shutdown -p now) ... I still do not know.

But thanx for your help and good advice (pointing me to the bug and the
page).

Oliver
-- 
... don't touch the bang bang fruit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041012184659.GC805>