Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2022 19:53:47 -0600 (CST)
From:      Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
To:        andy thomas <andy@time-domain.co.uk>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: Odd behaviour of two identical ZFS servers mirroring via rsync
Message-ID:  <alpine.GSO.2.20.2211121949060.7126@scrappy.simplesystems.org>
In-Reply-To: <alpine.BSF.2.22.395.2211112008220.30520@mail0.time-domain.net>
References:  <alpine.BSF.2.22.395.2211111709230.29479@mail0.time-domain.net> <CAOgwaMuoLQ9Er67Y%2B=q%2Bf9724v2WT3L5v5TZaRVXq%2B=1vEyJ%2BA@mail.gmail.com> <alpine.BSF.2.22.395.2211112008220.30520@mail0.time-domain.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.20.2211121949060.7126>