From owner-freebsd-alpha Fri Sep 10 5:38:26 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 00DF71512F for ; Fri, 10 Sep 1999 05:38:18 -0700 (PDT) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id PAA49887; Fri, 10 Sep 1999 15:37:34 +0300 (EEST) (envelope-from narvi@haldjas.folklore.ee) Date: Fri, 10 Sep 1999 15:37:34 +0300 (EEST) From: Narvi To: Thomas Valentino Crimi Cc: FreeBSD-Alpha@FreeBSD.ORG Subject: Re: data recovery with bad block 0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 9 Sep 1999, Thomas Valentino Crimi wrote: > > Are there any methods/tools that can aid in recovering the data from a > drive which has suffered a media failure on block 0? (As a matter of > fact, I'm not quite sure yet if the failure is total, or only block 0, > at the time I didn't have anything but SRM and the install floppy to go > on). I'm imagining it should be easy to find the first partition, and > possibly gauge it's size (??) and find the second, and so on.. to > reconstruct the partiton offsets. The drive in question is a SCSI, > which I believe I installed as 'dangerously' dedicated. > What can I do to do this on-disk? Or am I forced to copy the drive > elsewhere? I'm fairly limited in terms of storage, but well motivated > to do it :) I'm picturing the worst will be if block 0 cannot even be > written to, as then the kernel will never accept it? > What kind of a drive is it? Modern drives should be able to remap bad sectors. for copying the drive use dd if=/dev/rdrive of=/free/space/here conv=noerror,sync After replacing drive and the path to the file, of course 8-) > > - Tom > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message