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

Tomas Gustavsson tomplast at
Tue Dec 22 05:18:22 MST 2009

Yeah, I got an Input/Output error when running strace.  I don't have the
luxury to smash my harddrive so testing with a CD is my only choice (afaik)
right now. Still, I do think that rsync should give up after a long time,
but it doesn't. So, any advice?

2009/12/22 Paul Slootman <paul+rsync at <paul%2Brsync at>>

> 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.
> Paul
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read:<>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list