[Tfug] Drive recovery

Bexley Hall bexley401 at yahoo.com
Wed Jun 3 13:16:09 MST 2009


--- On Wed, 6/3/09, Bowie J. Poag <bpoag at comcast.net> wrote:

> Image the drive using dd.. Then run fsck or whatever tool

Won't dd(1) complain when the sector(s) in question return
read errors?  (I'd have to check the sources to see for sure)

> you choose 
> against the resulting image. Get a new drive and repopulate
> it with cp -vR.
> 
> dd if=/dev/whatever of=/mnt/bar bs=1048576
> 
> (..run whatever tools you want..)
> 
> mount -o loop /dev/whatever /mnt/bar
> 
> cp -vR /mnt/bar/* /mnt/newdrive
> 
> 
> John Gruenenfelder wrote:
> > I've recently had a drive at work begin the throes of
> death.  While SMART did
> > not warn me about any problems beforehand, it did tell
> me later that the drive
> > had run out of spare sectors.  Some random sector
> went bad, but the drive no
> > longer has any spare sectors left in its pool to remap
> the bad one.
> >
> > This means that any attempt to read data from that
> sector results in a low
> > level read error from the drive.

....^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


      




More information about the tfug mailing list