read errors mapping "/path/file": No data available (in version 3.0.6)

View: New views
2 Messages — Rating Filter:   Alert me  

read errors mapping "/path/file": No data available (in version 3.0.6)

by Carlos Carvalho-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Got this in the log:

WARNING: path/file failed verification -- update discarded (will try again).
rsync: read errors mapping "/path/file": No data available (61)

The first line is rare but understandable. It's the second one that I
find strange. What does "no data available" mean? The file exists on
the origin (and on the destination). The second attempt should have
worked normally. This happened with --link-dest.
--
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

Re: read errors mapping "/path/file": No data available (in version 3.0.6)

by Matt McCutchen-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 2009-11-02 at 20:33 -0200, Carlos Carvalho wrote:
> Got this in the log:
>
> WARNING: path/file failed verification -- update discarded (will try again).
> rsync: read errors mapping "/path/file": No data available (61)
>
> The first line is rare but understandable. It's the second one that I
> find strange. What does "no data available" mean? The file exists on
> the origin (and on the destination). The second attempt should have
> worked normally. This happened with --link-dest.

It looks like rsync generates that errno internally if a source file is
truncated while the sender is reading it:

http://gitweb.samba.org/?p=rsync.git;a=blob;f=fileio.c;h=0faa619540e6892e16b1fe13ee55a5d3bd1c6fb6;hb=HEAD#l249

--
Matt

--
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