Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2001 23:51:19 -0600
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        "Juha Saarinen" <juha@saarinen.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Disk recovery pointers, please 
Message-ID:  <200107060551.f665pJj17669@fedde.littleton.co.us>
In-Reply-To: <036c01c105ce$7d0f96a0$0a01a8c0@den2> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Jul 2001 15:48:16 +1200  "Juha Saarinen" wrote:
 +------------------
 | Trying to sort out a server that upon rebooting comes up with:
 | 
 | /dev/da1s1d: CANNOT READ: BLK 16
 | /dev/da1s1d: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
 | ...
 | THE FOLLOWING FILE SYSTEMS HAD AN UNEXPECTED INCONSISTENCY:
 | 
 | 	/dev/da1s1d (/data)
 | 
 | Automatic file system check failed . . . help!
 | 
 | So, I run fsck manually, and get:
 | 
 | CANNOT READ BLK 16
 | CONTINUE [yn]
 | 
 | If I answer 'y' to that, I get:
 | 
 | THE FOLLOWING DISK SECTORS COULD NOT BE READ:
 | 
 | 16, 17, 18 (all the way to 31).
 | 
 | /dev/da1s1d: NOT LABELED AS A BSD FILE SYSTEM (unused).
 | 
 | Couldn't find anything useful in the archives or on the Web apart from
 | "reformat"... :-(
 | 
 +------------------

You can try to get fsck to succeed by using an alternate super
block.  Get a list of superblocks on the drive using newfs -N
/dev/da1s1d. then feed one of these into  fsck -yb /dev/da1s1d If
this succeeds count your self lucky.  If it fails it is time to
reformat the drive and start recovering your backups.  You do have
a backup don't you?

Good Luck
--
    Chris Fedde

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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