Re: Odd behaviour of two identical ZFS servers mirroring via rsync

From: Bob Friesenhahn <bfriesen_at_simple.dallas.tx.us>
Date: Sun, 13 Nov 2022 01:53:47 UTC
On Fri, 11 Nov 2022, andy thomas wrote:

> Yes, I can confirm the rsync --delete option is being used and in fact, 'du' 
> reports some of the mirrored folders as having identical sizes on both 
> servers, mainly those containing only small amounts of data.

I forgot to mention that a proven solution when using rsync is to use 
the '--inplace --no-whole-file' options.  These options help rsync to 
avoid doing wasteful things when updating existing files on a ZFS 
filesystem.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt