Re: mounted ext2 fs causes bad shutdown

From: Oliver Fuchs (oliverfuchs_at_onlinehome.de)
Date: 02/01/05

  • Next message: SigmaX: "ASP .NET on FreeBSD?"
    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"
    

  • Next message: SigmaX: "ASP .NET on FreeBSD?"

    Relevant Pages

    • FreeBSD 6.1 & 6.2 hanging and/or spontaneous rebooting
      ... I need Help with a FBSD spontaneous rebooting and freezing issue. ... I'm new to FreeBSD, but I've some experience with Linux, so FreeBSD isn't ... worked fine under FBSD until I dial up the internet and start browsing, ... the spontaneous reboots and hangs only happen when I dial up the ...
      (freebsd-questions)
    • 3com 3c905 watchdog error
      ... I am using Freebsd 4.9 compiled for use with smp. ... number of smaller files off the server the system reboots or worse ... Normally it would crash within 3-5 minutes, ... Standard ide boot drive ...
      (freebsd-questions)
    • Re: mounted ext2 fs causes bad shutdown
      ... > linux home partition which is ext3fs mounted on freebsd. ... > but the buffers remains never does and freebsd just reboots normally. ... > but I'd like to solve the real problem. ...
      (freebsd-questions)
    • Random lockups and reboots on FreeBSD 5.1-RELEASE
      ... I am having some very annoying problems with a FreeBSD 5.1 install. ... Every 4-6 hours, it either reboots by itself or locks up hard, with the ... Creative NVIDIA GeForce4 Ti4200 ...
      (freebsd-current)
    • Re: Core Dump?
      ... it reboots with what appears to be a kernel panic. ... Try to have a manual 'fsck -fy' in single user mode should fix this I think. ... FreeBSD - The Power to Serve! ...
      (freebsd-stable)