Date: Tue, 10 Apr 2001 15:06:47 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk> Cc: current@FreeBSD.org Subject: RE: Problems with fsck after dirpref changes Message-ID: <XFMail.010410150647.jhb@FreeBSD.org> In-Reply-To: <20010410234612.A17327@bank-pedersen.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010410150647.jhb>