Date: Tue, 1 Feb 2005 05:16:43 +0100 From: Oliver Fuchs <oliverfuchs@onlinehome.de> To: FreeBSD Mailing list <freebsd-questions@freebsd.org> Subject: Re: mounted ext2 fs causes bad shutdown Message-ID: <20050201041642.GA1733@oliverfuchs.onlinehome.de> In-Reply-To: <20050131110432.GD8619@alzatex.com> References: <20050131110432.GD8619@alzatex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Jan 2005, Loren M. Lang wrote:
> On a FreeBSD 5.3 system of mine that is dual boot with linux I have my
> linux home partition which is ext3fs mounted on freebsd. Anytime I
> reboot or halt freebsd while it is mounted, freebsd fails to sync all
> it's buffers. The first message Syncing disks, vnodes remaining, starts
> out at around 5 or 10 and descreases to 0, then the message Syncing
> disks, buffers remaining... starts at 7 and stays at 7 the whole time
> untill freebsd gives up and reboots or halts anyways. Whenever I first
> unmount the ext2fs, the vnodes remaining message comes up as usually,
> but the buffers remains never does and freebsd just reboots normally. I
> could modify the shutdown scripts to unmount the fs manually I suppose,
> but I'd like to solve the real problem.
You first have to umount the linux partition. I have this uncommented
in my /etc/rc.shutdown (I have it from the list):
# Insert other shutdown procedures here
########################################################
#extfs=`eval mount | grep ext2fs | awk '{print $1 }'`
#for _elem in $extfs; do
# echo -n "Unmounting ext2/ext3 filesystems: "
# umount -a -t ext2fs
# echo -n "$_elem "
#done
#
#echo '.'
#exit 0
########################################################
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?20050201041642.GA1733>
