View Single Post
  #1  
Old January 4th 15, 02:56 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 to adying old HDD in Linux?

Hi!

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?
It has been so many years I did this.

Thank you in advance.
--
"Do not kill ants. They are your best friends." --Joe Brainard
/\___/\ 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.