From owner-freebsd-stable Thu Jul 5 22:51:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id E851C37B401 for ; Thu, 5 Jul 2001 22:51:27 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.4/8.11.2) with ESMTP id f665pJj17669; Thu, 5 Jul 2001 23:51:19 -0600 (MDT) Message-Id: <200107060551.f665pJj17669@fedde.littleton.co.us> To: "Juha Saarinen" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Disk recovery pointers, please In-Reply-To: <036c01c105ce$7d0f96a0$0a01a8c0@den2> From: Chris Fedde Date: Thu, 05 Jul 2001 23:51:19 -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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