du which understands ZFS

Mark Felder feld at FreeBSD.org
Tue Aug 20 11:40:55 UTC 2013


On Mon, Aug 19, 2013, at 22:51, aurfalien wrote:
> Hi,
> 
> Is there a version of du which understands ZFS?
> 
> Currently when running du I get this;
> 
> Filesystem                        Size    Used   Avail Capacity  Mounted
> on
> abyss                             51T     50k      51T     0%          
> /abyss
> abyss/PROJECT             72T     20T      51T    29%          
> /abyss/PROJECTS
> abyss/PROJECTX         54T    2.6T      51T     5%      /abyss/PROJECTSX
> 
> The zpool of abyss is 75TB in size.
> 

And do you want df to be aware of compression and deduplication, too? I
don't think this will show up in FreeBSD's df. Use the tools that ZFS
provides and you'll never get any unexpected surprises.


More information about the freebsd-fs mailing list