Re: mounted ext2 fs causes bad shutdown
From: Oliver Fuchs (oliverfuchs_at_onlinehome.de)
Date: 02/01/05
- Previous message: Michael C. Shultz: "Re: Cleaning Out Ports?"
- Maybe in reply to: Eric Kjeldergaard: "Re: mounted ext2 fs causes bad shutdown"
- Next in thread: Giorgos Keramidas: "Re: mounted ext2 fs causes bad shutdown"
- Reply: Giorgos Keramidas: "Re: mounted ext2 fs causes bad shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 1 Feb 2005 05:16:43 +0100 To: FreeBSD Mailing list <freebsd-questions@freebsd.org>
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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Michael C. Shultz: "Re: Cleaning Out Ports?"
- Maybe in reply to: Eric Kjeldergaard: "Re: mounted ext2 fs causes bad shutdown"
- Next in thread: Giorgos Keramidas: "Re: mounted ext2 fs causes bad shutdown"
- Reply: Giorgos Keramidas: "Re: mounted ext2 fs causes bad shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|