Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 1999 15:37:34 +0300 (EEST)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
Cc:        FreeBSD-Alpha@FreeBSD.ORG
Subject:   Re: data recovery with bad block 0
Message-ID:  <Pine.BSF.3.96.990910153145.30127E-100000@haldjas.folklore.ee>
In-Reply-To: <orpzlri00Uw=0kxFY0@andrew.cmu.edu>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990910153145.30127E-100000>