Date: Sat, 30 May 2020 20:12:08 -0700 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: Re: rsync counts not identical Message-ID: <ce473e3a-b412-b1fe-7a16-4b62e975e3bb@holgerdanske.com> In-Reply-To: <CAPORhP5DW5xJvLqHB7W0fWiWfGoaGYApuUJriGYUVXtBcTD=QA@mail.gmail.com> References: <CAPORhP5jArdFAU4EGNggOLjdRJkXkPYdmHnRDB66DGCz1YfCoQ@mail.gmail.com> <20200531034210.ed0ddc30.freebsd@edvax.de> <CAPORhP5DW5xJvLqHB7W0fWiWfGoaGYApuUJriGYUVXtBcTD=QA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 5/30/20, Polytropon <freebsd@edvax.de> wrote: >> On Sat, 30 May 2020 21:11:49 -0400, David Mehler wrote: >>> Hello, >>> >>> I'm using rsync on two FreeBSD servers to send files and >>> subfolders from one to the other. The command I'm using is rsync -avz /path/of/first/system/folder/ /path/of/second/system/folder/ >>> The first set of files/folders is on a ufs disk, the second on a >>> zfs volume, differences in sizes are 13 to 20MB differences >>> between the source and destination. Is this normal? >> >> How have the sizes been measured? >> >> Is it possible that some symlinks or hardlinks have been "resolved" >> in some undesired way? On 2020-05-30 19:43, David Mehler wrote: > Thanks, I did a du -sh > on both source and destination directories. Your rsync(1) command is not deleting files on the destination that do not exist on the source. See the various '--delete' options. You might have leftover files or directories on the destination that do not exist on the source. Your du(1) command is displaying disk usage, not apparent size. See the '-A' option. It is unlikely that UFS and ZFS will use the exact same amount of disk space for the same content. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce473e3a-b412-b1fe-7a16-4b62e975e3bb>