Re: Cannot find out what uses space in ZFS dataset

From: Andrea Venturoli <ml_at_netfence.it>
Date: Fri, 19 Sep 2025 07:22:54 UTC
On 9/18/25 23:22, David Christensen wrote:

> ...
> If your system has been upgraded many times, you will have many 
> snapshots.  These snapshots will consume space.  That is why the 
> "referenced" values reported by zfs(8) are larger than the usage values 
> reported by du(1).

All agreed and known up to here.





> To do a full backup, you need to send the entire dataset hierarchy and 
> all of its snapshots someplace -- a file, another pool, etc..  This is 
> known as "replication".

Agree again, but I'm not doing "replication".
Replication is done with "zfs send -R"; I'm using "zfs send -p" with a 
single snapshot I created.



> will be tedious and error prone.  I have written a few generations of 
> scripts to automate this chore, first in Bourne shell and later in Perl. 

I've got my own scripts :)



  bye & Thanks
	av.