cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.55k stars 190 forks source link

No read or write data. #105

Open igor-primo opened 3 years ago

igor-primo commented 3 years ago

Greetings. I am trying to recover data from unallocated space of a 2TB HDD to another 2TB HDD. Everything was going well for a few days, but recently the following behaviour has been noted. Previously the recovery process was very fast, up to 5GB per hour, but now iotop shows that on the first 30 seconds after starting the recovery process everything is fine but after that photorec will read a few 300KB/s for a second and then disappear for a minute while the writing process almost continually writes something around 30KB/s; sometimes I have peaks of 2MB/s or even 36MB/s, but not for long and the recovery process is very slow. top has shown previously that photorec will take something around 30%, 40% of my CPU processing power, but now it takes 2%, 5%. I tested the process in two laptops and the behaviour is the same, so I am inclined to assume the problem is on one of my HDDs. After finishing the process my output HDD has its light blinking all the time and cannot be unmounted. My input HDD is a desktop one, WDC WD20 EARX-00PASB0, and the output one a Seagate Expansion. Both NTFS and chkdsk reported no errors on them. For the recovery I am using Linux Mint. Could someone point me to an explanation or a solution? Thanks in advance.

cgsecurity commented 3 years ago

Check dmesg output, read error error or timeout message are probably listed. As explained in https://www.cgsecurity.org/testdisk.pdf, it's better to clone damaged disk/disk with bad sectors using ddrescue and once it's done, work on the clone.