Matt Van Mater schrieb:
      1. image1 size in bytes: 17,062,442,700
      2. image2 size in bytes: 16,993,256,652

about 70 MB of change between a boot with a small program install. That is realistic. This also means: FOG/Partimage only captures the used sectors.
IF you would capture ALL sectors (used and unused) the rsync difference would be those about 70 MB. You shuld run a "clean slack" utility before imaging though, like the microsoft precompact.exe (supplied with Virtual PC 2007).

But here it looks like this: about the first half of the image contain sectors which were not changed between the reboots.
Then, in the middle of the image, a few bytes (~70 MB) got added, and rsync cannot get a match across that 70 MB gap and therefore treats everything after that as "new".


  1. Command:
    1. rsync --block-size=512 –only-write-batch=img1toimg2_diff image2 image1
  2. Error message:
    1. ERROR: Out of memory in receive_sums [sender]
    2. rsync error: error allocating core memory buffers (code 22) at util.c(117) [sender=3.0.7]

A block size below the cluster size doesn't make much sense, it only wastes your memory. Hence the out of memory problem, let your taskmanager run while doing that and you'll see. AFAIK rsync adjusts the block size dynamically, uses large blocks (several MB) if there is no change, and switches down to small blocks then there is a change to keep the amount of data to transfer low.

What I cannot tell: A option to tell rsync to try harder to search for a match within one big file, across a larger desynced region. I only know and use "--fuzzy" which only helps on large amounts of files, and only makes sense on slow connections.

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

Reply via email to