Re: fsck shortcomings

From: Michael Nottebrock (michaelnottebrock_at_gmx.net)
Date: 11/29/04

  • Next message: FreeBSD Tinderbox: "[current tinderbox] failure on alpha/alpha"
    Date: Mon, 29 Nov 2004 04:31:20 +0100
    To: Scott Long <scottl@freebsd.org>
    
    

    Scott Long wrote:

    > Michael Nottebrock wrote:
    >
    >> I recently had a filesystem go bad on me in such a way that it was
    >> recognized way bigger than it actually was, causing fsck to fail while
    >> trying to allocate and equally astronomic amount of memory (and my
    >> machine already had 1 Gig of mem + 2 Gig swap available).
    >> I just newfs'd and I'm now in the process of restoring data, however,
    >> I googled a bit on this and it seems that this kind of fs corruption
    >> is occurring quite often, in particular due to power failures.
    >
    >
    > Yes, very troubling. You said that the alternate superblocks didn't
    > help?

    Yes, although that might have been bad luck - I didn't realise something was
    wrong with the fs right away.

    Since I had background fsck enabled, the filesystem got mounted anyway, but
    the system hung at executing dhclient, so I fiddled around with disabling
    acpi/apic & other stuff, assuming that something was wrong with the NIC or the
    NIC driver... I guess the alternate superblock might have worked if I had
    recognized the problem at once and tried fsck_ffs -b right away instead of
    mounting the bad fs over and over while trying to fix the NIC.

    -- 
        ,_,   | Michael Nottebrock               | lofi@freebsd.org
      (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
        \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.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: FreeBSD Tinderbox: "[current tinderbox] failure on alpha/alpha"

    Relevant Pages