ZFS and free space

Michael Schuster michaelsprivate at gmail.com
Wed Aug 16 08:12:14 UTC 2017


Hi,

On Wed, Aug 16, 2017 at 10:03 AM, Johan Helsingius <julf at julf.com> wrote:

> Hi, Mike,


that's not how I signed my email :-)


# zfs list -t all
> NAME                 USED  AVAIL  REFER  MOUNTPOINT
> zroot               10.2T  47.8G   140K  /zroot
> zroot/ROOT          3.01G  47.8G   140K  none
>


> zroot/home          5.98T  47.8G  5.98T  /home/storage
>


> zroot/usr           4.17T  47.8G   140K  /usr
> zroot/usr/home      4.17T  47.8G  4.17T  /usr/home
> zroot/usr/ports     1.26G  47.8G  1.26G  /usr/ports
>


> So /zroot is 10T, zroot/home is 6T and zroot/usr (and zroot/usr/home)
> is 4T - so clearly they are separate. But what is taking up the space
> on zroot/usr/home? "du" doesn't show anything there!
>
> # du -sh /usr/home/*
> 715M    /usr/home/julf
> 4.2T    /usr/home/storage
>

if 4.2T isn't anything, what is? To me it looks like this is where your
space is being consumed


> # file /home
> /home: symbolic link to usr/home
>

ouch ... I don't know if that's "supported", but it's definitely confusing
(compare with "zroot/home"). I'd clean that up right away to get more
clarity.

HTH
Michael
-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'


More information about the freebsd-questions mailing list