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

From: Mark Saad <nonesuch_at_longcount.org>
Date: Sun, 13 Nov 2022 16:13:56 UTC
On Sat, Nov 12, 2022 at 8:54 PM Bob Friesenhahn <
bfriesen@simple.dallas.tx.us> wrote:

> 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 are you saying when the target is zfs --inplace --no-whole-file helps
or just in general when you have
large files ?  Also have you tried using --delete-during / --delete-after  ?


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

-- 
mark saad | nonesuch@longcount.org