[PVE-User] ZFS Disk Usage unexpected high

Konold, Martin martin.konold at konsec.com
Mon Apr 5 10:22:56 CEST 2021


I set up a single VM which currently used 15TB of data.
/dev/sdb is technically a ZFS volume on the Proxmox Host.

[root at vm ~]# df -h /data
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb         40T   15T   25T  37% /data
[root at vm ~]# du -s /data/
14874345100     /data/

[root at host /]# zfs list zfs01/PVE-BE/vm-1-disk-1
NAME                         USED  AVAIL     REFER  MOUNTPOINT
zfs01/PVE-BE/vm-1-disk-1  31.5T  5.82T     31.5T  -

Why is the usage on the host about twice as large as within the vm?
(Yes, I have given fstrim and discard a try).

ppa. Martin Konold

Martin Konold - Prokurist, CTO
KONSEC GmbH -⁠ make things real
Amtsgericht Stuttgart, HRB 23690
Geschäftsführer: Andreas Mack
Im Köller 3, 70794 Filderstadt, Germany

More information about the pve-user mailing list