mounted ext2 fs causes bad shutdown
Oliver Fuchs
oliverfuchs at onlinehome.de
Mon Jan 31 20:17:40 PST 2005
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
More information about the freebsd-questions
mailing list