Re: Used Disk Space

From: Doug Hardie <bc979_at_lafn.org>
Date: Fri, 01 Apr 2022 21:46:14 UTC
> On 1 April 2022, at 05:01, Michael Schuster <michaelsprivate@gmail.com> wrote:
> 
> On Fri, Apr 1, 2022 at 12:09 PM Doug Hardie <bc979@lafn.org> wrote:
>> 
>> I have two systems: one is amd64 and the other arm64.  The amd64 is 13.0, the arm64 is 13.1 RC1.  The disk utilization between the machines is quite different.  For example, /usr/lib only has 2 extra files in the arm64.  They add up to less than 100 M.  du -sh on amd64 shows 502M for /usr/lib, and du -sh on arm64 shows 2.1G.  Walking through the entries on both systems, most are identical.  When there are differences, they are around 2M at most.  Often they are around 10K.  The arm64 is using almost twice the space of the amd64 if you believe du.  However, the sum of the individual allocations on each system are less than 100M different.  What is going on?
> 
> I haven't done much active FS work for a while, so I'll just hazard a
> guess: ZFS vs UFS?
> perhaps FS allocation units are different between the two systems?
> 
> HTH
> Michael

Both systems are UFS.  I had considered the allocation units but haven't figured out where to check that.

-- Doug