[PVE-User] ZFS Disk Usage unexpected high

Maximilian Hill mhill at inett.de
Tue Apr 6 09:41:26 CEST 2021


Hi,

I got the same issue with different RAID-Z setups lately.

We worked around it, but I don't want to go into detail abaout that
before I know. why that happened.


Regards
Maximilian Hill

On Mon, Apr 05, 2021 at 10:22:56AM +0200, Konold, Martin wrote:
> 
> Hi,
> 
> 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).
> 
> -- 
> Regards
> ppa. Martin Konold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20210406/40a4057e/attachment.sig>


More information about the pve-user mailing list