Jannik:
> Maybe you should think about a professional recovery service, like
>
http://www.ontrack.de.
Very good site! In fact you are right -- if very much data was lost, it can be "cheaper" to pay some hundreds or even thousands of Euros instead of doing all the work again! :-o (In a sense of "working for 10 bucks/hour at McDonalds and pay the data recovery company can be faster than doing the work a second time"... ;-) )
> So many bad blocks seems not to be a surface
> problem, but a mechanical or a head problem.
Perfectly possible -- it was especially significant that all those bad blocks came over night! I never had a single disk error on that drive, and suddenly there were many hundreds of them! :-o
At least it is clear that this is no problem that can be fixed at home... :-o
> Then the chances are good,
> that they can recover nearly all data without errors. Dependant on the
> importance of your (personal) data, it could really be worth the money.
Definitely true!
> If you decide for this, you should immediatly stop any activity on this
> hdd, to avoid increasing the damage.
I already was able to recover over 90-95% of the data from that drive by using dd_rescue/dd_rhelp, which uses an intelligent approach of copying the non-bad blocks first, before it tries hard (and very long) on the bad blocks to squeeze out some more data. I stopped the process after two days on the last 1-2% of data. (The higher percentage of lost data is due to larger files affected by the bad blocks.)
> Good luck!
Thanks a lot! So far it looks good -- the system partition was nearly intact, and about the much more damaged (and more important) /home partition: I have found a full backup of January, and a partial backup of February, and I am just copying as much leftover data from the fsck'ed image file of the damaged partition as possible...
> Btw: Damn, my last backup is very old, too ...
Then better do it now... ;-)
HerzAusGold:
> May be the cable is broken or the connector have bad contact.
Nope. Everything's fine here. It's bad blocks on the disk itself, always at the same sectors.
> I thought ext3 have journal log. So with this it should be recoverable.
Nope -- a file system journal does not help anything agains bad blocks. :(
(The journal does help you a bit in case of power failures etc., where the file system wasn't able to write to disk -- the main purpose of a journaling file system is to ensure that your file system is always in a defined state, even after sudden power failures or crashes, and to make file system checking after an unclean shutdown as fast as possible. It does not help at all when data is lost that was already stored in the file system.)
> And if you recover the data - release it - then you have a backup
Very true -- this is the best backup for source code! :-)
(In fact, I make regular backups to a remote host...)
> Good luck!
Thanks again! :-)