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

Tomas Gustavsson tomplast at gmail.com
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 wurtel.net <paul%2Brsync at wurtel.net>>

> 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:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091222/3f383172/attachment.html>


More information about the rsync mailing list