Re: fsck on reboot in 5.x

From: Doug White (dwhite_at_gumbysoft.com)
Date: 12/30/03

  • Next message: Doug White: "Re: ehci driver disables USB support on boot time"
    Date: Mon, 29 Dec 2003 20:41:56 -0800 (PST)
    To: Joan Picanyol <lists-freebsd-current@biaix.org>
    
    

    On Thu, 25 Dec 2003, Joan Picanyol wrote:

    > The other day I had the first power failure on a RELENG_5_1 machine, and
    > much to my surprise, it didn't resume normal operation because of fsck
    > issues (long lines):
    >
    > [joan@iaeste-catalunya:~]0 $grep fsck /tmp/dmesg
    > WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
    > WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
    > WARNING: R/W mount of /fs/tmp/mount denied. Filesystem is not clean - run fsck
    > WARNING: R/W mount of /fs/home/mount denied. Filesystem is not clean - run fsck
    > WARNING: R/W mount of /fs/std-var/mount denied. Filesystem is not clean - run fsck
    > WARNING: R/W mount of /fs/aegee/mount denied. Filesystem is not clean - run fsck

    / shouldn't appear in this list. Can you show us your fstab? It seems as
    if the pass numbers are wrong. fsck uses the pass numbers in fstab to
    figure out what filesystems to check when.

    > So, can anyone enlight me about how to make FreeBSD postpone rw mount of
    > dirty fs's until bgfsck has finished?

    bgfsck doesn't kick off until the filesystem has been checked for any
    critical issues. In your case, it appears that something is keeping fsck
    from executing.

    -- 
    Doug White                    |  FreeBSD: The Power to Serve
    dwhite@gumbysoft.com          |  www.FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Doug White: "Re: ehci driver disables USB support on boot time"

    Relevant Pages

    • Re: Major filesystem problems after crash on 7.0-BETA3
      ... of coffee while the background fsck took care of the file systems. ... access the /var or /tmp filesystems, I received panics similar to: ... Dumping 101 MB:Aborting dump due to I/O error. ... it looked like my filesystems weren't ...
      (freebsd-questions)
    • Re: fsck on reboot in 5.x
      ... Can you show us your fstab? ... fsck uses the pass numbers in fstab to ... > figure out what filesystems to check when. ... >> dirty fs's until bgfsck has finished? ...
      (freebsd-current)
    • Re: recover superblock
      ... > I just lost all of my filesystems on my 5.1 box. ... > I plugged the harddisk into another computer and tried to run fsck. ... I have lost over 1,000 to 2,000 emails like three times when the Nvidia ... > Even trying to copy an alternate superblock using dd faied. ...
      (freebsd-current)
    • Re: corrupt vgda - recovery impossible?
      ... from which you can construct LV map files for the mlkv command. ... filesystems were jfs: ... Run a fsck on each filesystem. ... (the price for not having a tape backup). ...
      (comp.unix.aix)
    • recover superblock
      ... I just lost all of my filesystems on my 5.1 box. ... I plugged the harddisk into another computer and tried to run fsck. ... Even trying to copy an alternate superblock using dd faied. ...
      (freebsd-current)