Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 10:03:17 +0200
From:      Johan Helsingius <julf@julf.com>
To:        Michael Schuster <michaelsprivate@gmail.com>
Cc:        freeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: ZFS and free space
Message-ID:  <db074f22-dc8b-5407-fb8f-6253851ce0a8@julf.com>
In-Reply-To: <CADqw_g+4vLrS0oUdyLUgxZDTJy=z88fP-wC-EYwydSuAH3WtOA@mail.gmail.com>
References:  <c4f933a5-e9c7-6df4-b443-dc3f4e964827@julf.com> <a4854ec0e37de576e636dac7f468e975@dweimer.net> <c9b62f68-199b-eafd-79bf-e47c44885f9a@julf.com> <126aaff1-58af-f7d5-b47e-c7d894b45606@gmail.com> <a179f76a-19ef-7576-4fc5-55ed5ce348b2@julf.com> <CADqw_g+4vLrS0oUdyLUgxZDTJy=z88fP-wC-EYwydSuAH3WtOA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi, Mike,

On 16-08-17 07:45, Michael Schuster wrote:
> I wonder ... is zroot/usr/home part of zroot/home? Naming suggests
> otherwise.
> 
> Perhaps you can try 
> # zfs list -t all | egrep 'home|usr' 
>  (or simply 'zfs list -t all', if that doesn't produce too much output)
> and see whether that helps ...

# 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/ROOT/default  3.01G  47.8G  3.01G  /
zroot/home          5.98T  47.8G  5.98T  /home/storage
zroot/tmp            163K  47.8G   163K  /tmp
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
zroot/usr/src        140K  47.8G   140K  /usr/src
zroot/var           1.42M  47.8G   140K  /var
zroot/var/audit      140K  47.8G   140K  /var/audit
zroot/var/crash      140K  47.8G   140K  /var/crash
zroot/var/log        761K  47.8G   761K  /var/log
zroot/var/mail       140K  47.8G   140K  /var/mail
zroot/var/tmp        140K  47.8G   140K  /var/tmp

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

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

# ls -id /usr/home/storage/ /home/storage
18 /home/storage        18 /usr/home/storage/

	Julf



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?db074f22-dc8b-5407-fb8f-6253851ce0a8>