Hi,
this thread is not your common "please use your crystal ball and gimme some k3wl terminal cmds" thread.
I'd rather like to know the reason why the above happens and
whether anyone of you "pros" has ever managed to fix such drive behavior just by some "terminal magic".
I think it was a 7200.10 500GB Seagate drive where I had to go through this, a few years ago.
I had no USB-to-TTL cable, but just a drive which was
about to die soon, so I chose to image the whole drive.
I actually DID manage to get my data back, but it took 5 weeks.
Wait a minute...FIVE WEEKS?!?
YES.
I'm not kidding. I used
sysresccd which is something for the console folks. However, this method cost me millions of nerves, and I can only recommend it for UBER-PATIENT PEOPLE.
This drive showed a behavior I have never experienced with any drive again.
You'd just use
dd on it, using some more advanced commands, and the imaging worked fine ... until 20 minutes later. The image chunk itself (about 12 GB) was fully OK, then I got
Code:
# dd: /dev/sdc5: Device I/O Error
Ugh. And now it comes:
I actually had to power-cycle the machine until Linux could recognize the drive again.I am an advanced user of hdparm and I know most of the cool parameters: --dco-restore, -w (= force hard reset), and its friends.
NOTHING WORKED, even though I had been about sure that at least -w could prevent me from rebooting my PC.
Speaking of which, power-cycling the machine did do the trick, and I could continue where I had left off with the last chunk.
It was a huge work because I had to calculate in sectors and blocks to get chunks (some re-read for safety reasons, so I had some duplicate blocks and had to "glue" them together at the right position), let alone about 50 (!!!) reboots when there were "critical zones" where I could only "catch" 512 MB or even less. I repeat again: after any working chunk that ran into a"Device I/O Error" after the last valid sector read, nothing but a power-cycle could bring the drive "back to life".
Has anyone else experienced such behavior with a drive that "says good-bye" in live operation whenever it feels like it (i. e. on each access of a defective sector) and needs a cold reboot of the PC to get "found" by the system again?
This will even happen with any of those freebie sector checking programs. Supposing the HDD has 10 million sectors, and it accesses sector #7654321, which is defective. Once it accesses this sector, the drive goes all wonky, and sectors #7654322 to #10000000 will result in an ERROR. But in most cases they are not defective!! Because after a power-cycle, (usually) the sectors #DEFECTIVE_SECTOR+N up to last one will read without problems. But not until you did said reboot.
I feel I'm not alone, because to my knowledge, QueTek (the guys that wrote the excellent "FileScavenger") are the only company who wrote a specialized tool that can deal with this kind of drives, called "Disk Recoup". For with drives that behave like this, ANY other recovery tool is powerless. (From personal experience.)