ZFS and free space
Johan Helsingius
julf at julf.com
Wed Aug 16 08:03:39 UTC 2017
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
More information about the freebsd-questions
mailing list