Carlos Carvalho
2009-Nov-02 22:33 UTC
read errors mapping "/path/file": No data available (in version 3.0.6)
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.
Matt McCutchen
2009-Nov-03 09:30 UTC
read errors mapping "/path/file": No data available (in version 3.0.6)
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