kern/119638: [ffs] fsck_ffs -b 32 doesn't repair primary
superblock
Yoshihiro Ota
ota at j.email.ne.jp
Tue Mar 11 05:30:04 UTC 2008
The following reply was made to PR kern/119638; it has been noted by GNATS.
From: Yoshihiro Ota <ota at j.email.ne.jp>
To: bug-followup at FreeBSD.org
Cc: freebsd at sopwith.solgatos.com
Subject: Re: kern/119638: [ffs] fsck_ffs -b 32 doesn't repair primary
superblock
Date: Tue, 11 Mar 2008 01:21:53 -0400
Was your filesystem on /dev/da0s1 "UFS version 1?"
See "man fsck_ffs":
-b Use the block specified immediately after the flag as the super
block for the file system. An alternate super block is usually
located at block 32 for UFS1, and block 160 for UFS2.
If you had UFS2, which is the default since 5.1-RELEASE for almost 4 years,
you should have used 160, instead.
Hiro
More information about the freebsd-bugs
mailing list