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%
> UPDATE STANDARD SUPERBLOCK? [yn] y
You didn't want to do this. This is probably why you panic'd.
Yep, my fsck works again (well, it doesn't blow up at least), will commit it in
John Baldwin <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message