Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 22:00:56 GMT
From:      Dieter <freebsd@sopwith.solgatos.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/119638: fsck_ffs -b 32 doesn't repair primary superblock
Message-ID:  <200801132200.m0DM0uAh015214@www.freebsd.org>
Resent-Message-ID: <200801132210.m0DMA1rw095309@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801132200.m0DM0uAh015214>