From owner-freebsd-stable Fri Jul 6 19: 1:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id 2921737B40C for ; Fri, 6 Jul 2001 19:01:19 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [203.164.12.28] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5724aadf) with ESMTP id jzybaaaa for ; Fri, 6 Jul 2001 16:50:09 +1000 Message-ID: <3B45605B.C81B2E3F@quake.com.au> Date: Fri, 06 Jul 2001 16:53:15 +1000 From: Kal Torak X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Juha Saarinen Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Disk recovery pointers, please References: <036c01c105ce$7d0f96a0$0a01a8c0@den2> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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"... :-( Using dd you can try and extract any data that is still intact off the drive if you know where it is... I had a drive die on me a while ago, the first chunk of sectors were all history, but the rest was fine... I just created a new disk label and was able to mount it and recover most of the data... Ofcause if you have backups just reformat and restore ;) (but I guess you wouldnt be asking this if you had backups right?) If you have the space on another drive I would dump the contents of the disk into a file with dd and then see if you cant get the thing to mount by fixing the disk label... Files that are still recognisable will be put in lost+found dir for you to sort though and see whats recoverable... Good Luck! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message