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

Matt McCutchen matt at mattmccutchen.net
Tue Nov 3 02:30:00 MST 2009


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



More information about the rsync mailing list