How do I make rsync ignore unreadable files (damaged sectors)?

Paul Slootman paul+rsync at
Tue Dec 22 04:35:01 MST 2009

On Tue 22 Dec 2009, Tomas Gustavsson wrote:
> So I took a CD (which I scratched with a needle) and mounted it to the file
> system. There after I started the backup job which went on forever and never
> got completed. It seems that rsync refused to understand that the file it
> tried to copy was located on damaged sectors on the CD, and there fore was
> unreadable.

I suspect that this is more down to the OS and the CDROM drive both
trying very hard to read the damaged data. You would have to do a strace
or similar to determine whether rsync is actually getting IO errors from
the OS or not.


More information about the rsync mailing list