misc/119638: fsck_ffs -b 32 doesn't repair primary superblock
Dieter
freebsd at sopwith.solgatos.com
Sun Jan 13 22:10:02 UTC 2008
>Number: 119638
>Category: misc
>Synopsis: fsck_ffs -b 32 doesn't repair primary superblock
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 13 22:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dieter
>Release: 6.2
>Organization:
>Environment:
6.2-RELEASE amd64
>Description:
fsck_ffs -b 32 doesn't repair primary superblock
# fsck_ffs -b 32 /dev/da0s1
Alternate super block location: 32
** /dev/da0s1
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
451 files, 994 used, 95917 free (21 frags, 11987 blocks, 0.0% fragmentation)
# mount /dev/da0s1 /mnt
mount: /dev/da0s1: Operation not permitted
console says: WARNING: R/W mount of /mnt denied. Filesystem is not clean - run fsck
# fsck_ffs /dev/da0s1
** /dev/da0s1
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ffs: /dev/da0s1: can't read disk label
# fsck /dev/da0s1
** /dev/da0s1
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0s1: can't read disk label
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list