How does rsync file verification work?

Jason Haar Jason.Haar at
Sat Feb 4 21:22:28 MST 2012

On 05/02/12 06:01, Kevin Korb wrote:
> Rsync does not verify the data after it is written to the disk.  The
> whole file checksum is only done to ensure that the file crossed the
> network intact.

Actually rsync doesn't checksum by default - if a file has the correct
date and size it's assumed to be the same file.

To achieve the goal, you could run a "rsync -az" type of thing to do the
initial sync, followed by a "rsync -c ..." to manually check each file
is the exact same file. This will of course make the entire process at
least twice as slow - but it will ensure you have confirmed the copy is
precisely what it says it is (I am ignoring filesystem/hardware caching
of course)


Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the rsync mailing list