File Corruption

Wayne Davison wayned at
Sat Sep 10 01:00:12 GMT 2005

On Fri, Sep 09, 2005 at 12:06:50PM -0600, Kevin Stussman wrote:
> -  Is there way to ensure that rsync checks the integrity of the
> transferred file when it is complete?

Rsync validates that all the data it writes out matches the checksum of
the data on the sending side.  The only known way to create a corrupted
destination file is to specify --inplace and --sparse together (because
it can make rsync think that it wrote some zeros when it didn't really).
Since that doesn't seem to be your problem, the most likely cause is
that the source file was in a corrupted state when it was copied (i.e.
the data was currently being written on the sending side, and the update
was not complete).


More information about the rsync mailing list