Re: Weirdness with du/df/my brain (latter more likely)

2023-01-24 Thread Stuart Henderson
On 2023-01-23, Steve Fairhead wrote: > On 23/01/2023 01:47, NilsOla Nilsson wrote: >> 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 > > And you were quite right, and I apologise

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-23 Thread Steve Fairhead
On 23/01/2023 01:47, NilsOla Nilsson wrote: 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 And you were quite right, and I apologise for missing this - I really wasn't expecting har

Re: Weirdness with du/df/my brain (latter more likely) - SOLVED

2023-01-23 Thread Steve Fairhead
On 23/01/2023 19:00, Steve Fairhead wrote: On 22/01/2023 21:06, Steve Fairhead wrote: 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 h

Re: Weirdness with du/df/my brain (latter more likely) - SOLVED

2023-01-23 Thread Steve Fairhead
On 22/01/2023 21:06, Steve Fairhead wrote: 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:

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-23 Thread Steve Fairhead
On 23/01/2023 02:23, Todd C. Miller wrote: After yet more testing, I did a recursive copy of the old 49 GB Maildir to a spare folder on the same home partition on the old machine. This came up, again, as 188 GB. You probably copied a large number of sparse files where the holes got expanded.

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-23 Thread Steve Litt
Zeljko Jovanovic said on Mon, 23 Jan 2023 01:25:56 +0100 >On 22.1.23. 22:06, Steve Fairhead wrote: >> >> I'm just puzzled, and clearly missing something. Can anyone >> enlighten me as to the large (nearly 4*) discrepancy? >> >> Thanks, >> >> Steve > >Since you have the same result afte

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-23 Thread Steve Fairhead
On 22/01/2023 23:55, Alexis wrote:   - Old machine: 49 GB   - New machine: 188 GB Figures as measured with du -sk, which I realise is sector-oriented, but still... And yes, my boss does a *lot* of email. i might well be barking up the wrong tree, but the first thing that comes to mind is in

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-23 Thread Steve Fairhead
On 23/01/2023 00:37, Philip Guenther wrote: You'll need to be specific about what rsync options you used, and perhaps eyeball what the manpage says about them.  For example, the description of the -a option has a specific warning which seems a plausible explanation of the expansion. Apologies

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread NilsOla Nilsson
On Sun, Jan 22, 2023 at 09:06:29PM +, 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). > > A

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread Todd C . Miller
On Sun, 22 Jan 2023 21:06:29 +, Steve Fairhead wrote: > 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 analy

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread Zeljko Jovanovic
On 22.1.23. 22:06, 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

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread Philip Guenther
On Sun, Jan 22, 2023 at 2:08 PM Steve Fairhead wrote: > 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). > Good thing "cloning with r

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread Alexis
Steve Fairhead writes: - Old machine: 49 GB - New machine: 188 GB Figures as measured with du -sk, which I realise is sector-oriented, but still... And yes, my boss does a *lot* of email. i might well be barking up the wrong tree, but the first thing that comes to mind is inode usag

Weirdness with du/df/my brain (latter more likely)

2023-01-22 Thread Steve Fairhead
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 fold