From owner-freebsd-questions@FreeBSD.ORG Mon Oct 31 10:16:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6C316A41F for ; Mon, 31 Oct 2005 10:16:32 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAD5043D45 for ; Mon, 31 Oct 2005 10:16:31 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so848083nzd for ; Mon, 31 Oct 2005 02:16:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YkY6gktANjJqqjlCMMHBIUIKdPq1BtRT2nvqeBerktGRc44cgPZs1AJ6DKSoE78/ujV1/r9Zrm6WeSjoXGVTRqbLDiYh04YxhRzXidUOe/6bvxNicscZqIA3e1aNBfl2z3WZrirhnJQv8PUgtsbW2YgpwHM6YJBVRLNMnQW0eHY= Received: by 10.37.15.65 with SMTP id s65mr3214817nzi; Mon, 31 Oct 2005 02:16:31 -0800 (PST) Received: by 10.37.20.34 with HTTP; Mon, 31 Oct 2005 02:16:31 -0800 (PST) Message-ID: Date: Mon, 31 Oct 2005 13:16:31 +0300 From: "Andrew P." To: Edward Lichtner In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: f-q Subject: Re: File system check fails on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 10:16:32 -0000 On 10/31/05, Edward Lichtner wrote: > Hi all, > There's fire in the house... I recently inserted a USB memory stick and m= y > 5.4 Stable machine rebooted suddenly. I now get the following on boot : > > Starting file system checks : > /dev/ad0s3a: UNKNOWN FILE TYPE I=3D2900154 > /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=3D2900154 > UNEXPECTED SOFT UPDATE INCONSISTENCY > > CLEAR? [yn] > > ** Phase 2 - Check Pathnames > DUP/BAD I=3D2900154 OWNER=3Droot MODE=3D100644 > SIZE=3D93 MTIME=3DMar 25 04:13 2004 > FILE=3D/usr/ports/net/ldapbrowser/distinfo > > UNEXPECTED SOFT UPDATE INCONSISTENCY > > REMOVE? [yn] > > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > LINK COUNT DIR I=3D2 OWNER=3Droot MODE=3D40755 > SIZE=3D512 MTIME=3DOct 30 17:20 2005 COUNT 21 SHOULD BE 20 > ADJUST? [yn] > > UNREF FILE I=3D471058 OWNER=3Droot MODE=3D100644 > SIZE=3D72 MTIME=3DOct 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 wh= ole > system is on /dev/ad0s3a. > Also, what could have caused the problem ? I recently updated my kernel t= o > 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.o= rg" > If you have no idea, what's happened and what's damaged, I'm afraid, you'll have to run fsck -y (or place fsck_y_enable=3D"YES" in /etc/rc.conf to always dangerously agree to everything) - and hope for the best.