On Sun, Jan 22, 2023 at 09:06:29PM +0000, Steve Fairhead wrote: > Hi folks, > > I was cloning a server with rsync in preparation for a major upgrade > (elderly OpenBSD to 7.2). I noticed that the home partition usage was a good > deal greater on the new machine than the old (as seen by df). > > After a lot of analysis, I found that all user folders (and all other > folders/partitions) were near-enough identical on both machines, except for > one - my boss's ;) . After more analysis, I found that it was his Maildir > (using dovecot) that was weird: > > - Old machine: 49 GB > - New machine: 188 GB
Possible explanation: if you have several hard links pointing to the same file (inode) rsync will expand those to separate files, unless you give the option -H -- Nils Ola Nilsson, 🐞 nils...@abc.se, 🦗 +46-70-862 26 96