For starters, do NOT try to write to drive, or running disk saving 
tools, it'll only make things worse. Keep any disk operations to a minimum.

First off all you'll need a hard drive equal of larger of the failing 
drive. Then use dd_rescue[1] to copy it sector by sector (note that it 
might take a long time) Make sure all the harddrives are firmly mounted 
(on BOTH sides) and are cool (aim a fan at them).

Once finished you will find an replica of your failing harddrive on your 
new harddrive, but ofcourse, without the parts that couldn't be read.

I recommend using smartctl[2] to examine the failing drive further.

Now when that's done you can start thinking about what to do with the 
failing drive. First off all, can try overwriting it with zero's, with 
dd_rescue

dd_rescue -D /dev/zero /dev/sd[a-z]

then execute a SMART long survey test

smartctl -a /dev/sd[a-z] -t long

To check on the drive's progress, use

smartctl -a /dev/sd[a-z]

If the test fails with a read error, retry the whole procedure. However, 
if later tests continue to show read errors, that means you can get a 
screwdriver and see what's inside ;-)

Good luck.

[1] http://www.garloff.de/kurt/linux/ddrescue/
[2] http://smartmontools.sourceforge.net/

Andrew Rose wrote:
> On Fri, 3 Mar 2006, Luca Gasperini wrote:
> 
>> Hi,
>>   this evening after rebooting I got these really great messages from
>> my system:
>> Mar  3 18:47:56 arch end_request: I/O error, dev sdb, sector 47102647
> <snip>
>> Mar  3 18:47:58 arch ata2: status=0x51 { DriveReady SeekComplete Error }
>>
>> the problem is on a single partition of sdb (sdb6).
>>   Device Boot      Start         End      Blocks   Id  System
>> /dev/sdb1   *           1        1275    10241406   83  Linux
>> /dev/sdb2            1276        2550    10241437+  83  Linux
>> /dev/sdb3            2551       19929   139596817+   f  W95 Ext'd (LBA)
>> /dev/sdb5            2551        2932     3068383+  82  Linux swap / Solaris
>> /dev/sdb6            2933       19929   136528371   83  Linux
>>
>> I can mount other sdb partions but when i mount sdb6 the partition is
>> not recognized.The problem is the same on other distros.
>> any chanche to have my 120Gig of Data back? or at least any intuitive
>> recovery utility i may use?this is not one of my best days
> 
> 
> The fact it is only causing problems on one parition leads me to believe 
> the drive is about to fail, the best advice I could give would be to take 
> the drive out, place it in a freezer for a few hours and try again and if 
> all goes well BACKUP the data quickly.
> 
> It could also be localised low level curruption, in which case a low level 
> format should fix it.
> 
> But trust me on the freezing.
> 
> Let me us know how it goes and goodluck.
> 
> Andrew
> 
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch
> 
> 

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to