From owner-freebsd-current Tue Apr 10 15: 7:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id BE87C37B423 for ; Tue, 10 Apr 2001 15:07:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3AM7HG70105; Tue, 10 Apr 2001 15:07:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010410234612.A17327@bank-pedersen.dk> Date: Tue, 10 Apr 2001 15:06:47 -0700 (PDT) From: John Baldwin To: "Niels Chr. Bank-Pedersen" Subject: RE: Problems with fsck after dirpref changes Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-Apr-01 Niels Chr. Bank-Pedersen wrote: > > Is it me fsck'ing up, or is fsck(8) lacking behind in the > dirpref changes? > > > Automatic boot in progress... > /dev/da0s1a: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN > FIRST ALTERNATE > > /dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > /dev/da0s1a: Automatic file system check failed . . . help! > Enter full pathname of shell or RETURN for /bin/sh: > # fsck_ffs -b 32 / > Alternate super block location: 32 > ** /dev/da0s1a > ** Last Mounted on > ** Root file system > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > FREE BLK COUNT(S) WRONG IN SUPERBLK > SALVAGE? [yn] y > > 2683 files, 136083 used, 399724 free (1164 frags, 49820 blocks, 0.2% > fragmentation) > > UPDATE STANDARD SUPERBLOCK? [yn] y You didn't want to do this. This is probably why you panic'd. > http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/fsck_ffs/setup.c.diff?r1=1.8&r2 > =1.9&f=h Yep, my fsck works again (well, it doesn't blow up at least), will commit it in a second. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message