View Single Post
  #5  
Old January 4th 15, 11:29 PM posted to alt.comp.periphs.hdd,comp.sys.ibm.pc.hardware.storage
Ant[_3_]
external usenet poster
 
Posts: 756
Default How to force copy retries until finally copied all due toa dying old HDD in Linux?

On 1/4/2015 1:43 PM, Rod Speed wrote:

I have a very old PATA HDD that is dying due to SMART errors and I am
trying to copy my data to another working drive, but it has problems
reading some data. Here is an example:

$ cp -R * ~/DebianPATAhddBackups/
cp: cannot stat `Files/AntsImages': Input/output error
cp: reading `Mac OS X.dmg': Input/output error
cp: failed to extend `Mac OS X.dmg': Input/output error


I assume my Debian stable was unable to copy those files. IIRC, there
was a way to retry over and over until copied fully. How do I do that?


With that many reallocated and pending sectors, it aint gunna happen.


Ah, so http://www.kalysto.org/utilities/dd_rhelp/index.en.html is
useless then. That is what I remember using even though it took almost a
week to complete, but it worked.
--
"Ants can lift up to 50 times their own weight. And your monitor is
missing. Time to bring out the bugspray." --BBspot's Geek Horoscopes
(2/28/2003)
/\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.