File system check fails on boot

From: Edward Lichtner (elichtner_at_wanadoo.fr)
Date: 10/31/05

  • Next message: Andrew P.: "Re: File system check fails on boot"
    Date: Mon, 31 Oct 2005 11:06:37 +0100
    To: f-q <freebsd-questions@freebsd.org>
    
    

    Hi all,
    There's fire in the house... I recently inserted a USB memory stick and my
    5.4 Stable machine rebooted suddenly. I now get the following on boot :

    Starting file system checks :
    /dev/ad0s3a: UNKNOWN FILE TYPE I=2900154
    /dev/ad0s3a: UNEXPECTED SOFT UPDATE INCONSISTENCY: RUN fsck MANUALLY.
    Automatic file system check failed; help!
    Oct. 30 20:14:53 init: /bin/sh on /etc/rc terminated abnormally, going to
    single user mode

    When I run fsck, I get the folllowing :

    ** Phase 1 - Check Blocks and Sizes
    UNKNOWN FILE TYPE I=2900154
    UNEXPECTED SOFT UPDATE INCONSISTENCY

    CLEAR? [yn]

    ** Phase 2 - Check Pathnames
    DUP/BAD I=2900154 OWNER=root MODE=100644
    SIZE=93 MTIME=Mar 25 04:13 2004
    FILE=/usr/ports/net/ldapbrowser/distinfo

    UNEXPECTED SOFT UPDATE INCONSISTENCY

    REMOVE? [yn]

    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    LINK COUNT DIR I=2 OWNER=root MODE=40755
    SIZE=512 MTIME=Oct 30 17:20 2005 COUNT 21 SHOULD BE 20
    ADJUST? [yn]

    UNREF FILE I=471058 OWNER=root MODE=100644
    SIZE=72 MTIME=Oct 30 19:03 2005
    RECONNECT? [yn]

    CLEAR? [yn]

    I then get similar messages for a dozen files, then :

    ** Phase 5 - Check Cyl groups
    SUMMARY INFORMATION BAD
    SALVAGE? [yn]

    BLK(S) MISSING IN BIT MAPS
    SALVAGE? [yn]

    FREE BLK COUNT(S) WRONG IN SUPERBLK
    SALVAGE? [yn]

    And so on... Should I just answer yes to all questions and hope for the
    best, or is there a better way of saving the day ? Needless to say, my whole
    system is on /dev/ad0s3a.
    Also, what could have caused the problem ? I recently updated my kernel to
    include HFS support. Could it be linked ?
    Thanks all,
    Edward

    _______________________________________________
    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: Andrew P.: "Re: File system check fails on boot"

    Relevant Pages

    • HD problems after power outage
      ... UNEXPECTED SOFT UPDATE INCONSISTENCY; ... THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: ... Enter full pathname of shell or RETURN for /bin/sh: ...
      (freebsd-questions)
    • Re: files refused to delete
      ... ** Phase 1 - Check Blocks and Sizes ... UNEXPECTED SOFT UPDATE INCONSISTENCY ... SALVAGE? ...
      (freebsd-hackers)
    • UNEXPECTED SOFT UPDATE INCONSISTENCY
      ... UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY. ... THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: ...
      (freebsd-questions)
    • fsck says "UNEXPECTED SOFT UPDATE INCONSISTENCY"
      ... the automatic fsck failed with "UNEXPECTED SOFT UPDATE INCONSISTENCY" as ... and the file system is marked as dirty still.. ... Any ideas on what I could try to fix this? ...
      (freebsd-questions)
    • Re: Snapshot problems
      ... INCORRECT BLOCK COUNT I=1554754 ... UNEXPECTED SOFT UPDATE INCONSISTENCY ... UNREF FILE I=2408284 OWNER=squid MODE=100644 ...
      (freebsd-questions)