[SOLVED] WebGUI showing wrong ZFS values?!

Dec 19, 2020
67
4
13
48
Hi!

I am a little confused: WebGUI tells me ZFS is almost full, CLI tells me about enough free space?!

I have two proxmox hosts, two VMs are replicated from host1 to the host2. However, the destination storage on host2 is smaller than on the source host.
Host2 now tells me in the WebGUI that it is almost full:
Usage 98.17% (842.53 GiB of 858.28 GiB)
(see also attached screenshot)

However, when I look at it on the CLI everything looks fine:
Code:
root@pve3:~# zfs list
NAME                       USED  AVAIL     REFER  MOUNTPOINT
pve3-storage               783G  2.75T      783G  /pve3-storage
rpool                      845G  15.7G      104K  /rpool
rpool/ROOT                1.88G  15.7G       96K  /rpool/ROOT
rpool/ROOT/pve-1          1.88G  15.7G     1.88G  /
rpool/data                 843G  15.7G       96K  /rpool/data
rpool/data/vm-105-disk-0   341G   274G     82.9G  -
rpool/data/vm-106-disk-0  51.6G  67.3G     43.4M  -
rpool/data/vm-106-disk-1   181G   140G     57.3G  -
rpool/data/vm-106-disk-2   269G   222G     62.9G  -

Code:
NAME           SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
pve3-storage  3.62T   783G  2.86T        -         -    11%    21%  1.00x    ONLINE  -
rpool          888G   205G   683G        -         -    14%    23%  1.00x    ONLINE  -

Is this a bug in the GUI?
Could I really keep this running? And in the future the GUI will tell me about 101% of usage?!
 

Attachments

  • Bildschirmfoto 2021-03-22 um 18.05.43.png
    Bildschirmfoto 2021-03-22 um 18.05.43.png
    15.6 KB · Views: 16
Last edited:
rpool 845G 15.7G 104K /rpool

shows that in your 'rpool' you only have 15.7G left available (thats what the gui shows)

Code:
rpool 888G 205G 683G - - 14% 23% 1.00x ONLINE -
this seems to count the 'real' allocated storage (see REFER column)

my guess is that the 'thin provisioning' checkbox is not enabled for the zfs storage, which means that every zvol/dataset will use the full size, no matter how much data is really inside
 
Hi Dominik!

Thank you for your answer, you were absolutely right.

I activated "Thin provisioning" and set the "refreservation=none" on the VM images that are on this ZFS storage.
Now the usage is down to 24%, also showing that in the WebGUI.
Everything fine now. :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!