ZFS usage in web interface not the same as "zpool list"

buco

New Member
Feb 22, 2023
19
5
3
I noticed in the web interface of our (replicated) ZFS pool, it is at 80%. I was a bit surprised, so I looked at zpool list and zfs list. It's not immediately clear to my what is causing this.

So at first sight, I'd say: "fine!", based on the output of zpool list.

Bash:
root@pve2:/localdata-pve1# zpool list
NAME             SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
localdata-pve1  9.09T  1.02T  8.07T        -         -     4%    11%  1.00x    ONLINE  -
root@pve2:/localdata-pve1#


Here's a more in depth view.

(note: the naming on the zpool is confusing to say the least. I set it up on our first host, then wanted to replicate it to pve2. Since they've got to have the same name, ... Yeah sorry )
Bash:
root@pve2:/localdata-pve1# zfs list -o space
NAME                                                                                    AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
localdata-pve1                                                                          1.55T  6.41T        0B    171K             0B      6.41T
localdata-pve1/vm-100-disk-0                                                            2.10T   748G     22.5M    183G           564G         0B
localdata-pve1/vm-100-disk-0@__replicate_100-0_1712750414__                                 -  22.5M         -       -              -          -
localdata-pve1/vm-102-disk-0                                                            1.75T   221G     4.39G   14.2G           202G         0B
localdata-pve1/vm-102-disk-0@PXE-boot-menu                                                  -  99.5K         -       -              -          -
localdata-pve1/vm-102-disk-0@OS-installed                                                   -  8.59M         -       -              -          -
localdata-pve1/vm-102-disk-0@OS-booted                                                      -  1.90M         -       -              -          -
localdata-pve1/vm-102-disk-0@first-3-roles-from-playbook                                    -  63.0M         -       -              -          -
localdata-pve1/vm-102-disk-0@two-more-roles--afs-rwho                                       -   132M         -       -              -          -
localdata-pve1/vm-102-disk-0@qemu-guest-agent-started                                       -  1.15G         -       -              -          -
localdata-pve1/vm-102-disk-0@__replicate_102-0_1712753103__                                 -  7.43M         -       -              -          -
localdata-pve1/vm-102-state-OS-booted                                                   1.58T  28.0G        0B    406M          27.6G         0B
localdata-pve1/vm-102-state-OS-booted@__replicate_102-0_1712753103__                        -     0B         -       -              -          -
localdata-pve1/vm-102-state-PXE-boot-menu                                               1.58T  27.7G        0B   22.6M          27.6G         0B
localdata-pve1/vm-102-state-PXE-boot-menu@__replicate_102-0_1712753103__                    -     0B         -       -              -          -
localdata-pve1/vm-102-state-first-3-roles-from-playbook                                 1.58T  32.1G        0B   4.48G          27.6G         0B
localdata-pve1/vm-102-state-first-3-roles-from-playbook@__replicate_102-0_1712753103__      -     0B         -       -              -          -
localdata-pve1/vm-102-state-qemu-guest-agent-started                                    1.58T  29.0G        0B   1.38G          27.6G         0B
localdata-pve1/vm-102-state-qemu-guest-agent-started@__replicate_102-0_1712753103__         -     0B         -       -              -          -
localdata-pve1/vm-102-state-two-more-roles--afs-rwho                                    1.58T  29.4G        0B   1.77G          27.6G         0B
localdata-pve1/vm-102-state-two-more-roles--afs-rwho@__replicate_102-0_1712753103__         -     0B         -       -              -          -
localdata-pve1/vm-103-disk-0                                                            2.21T   900G     4.76G    221G           674G         0B
localdata-pve1/vm-103-disk-0@network-ok                                                     -  1.03G         -       -              -          -
localdata-pve1/vm-103-disk-0@dns-fixed                                                      -  8.32M         -       -              -          -
localdata-pve1/vm-103-disk-0@ready-to-start-migrating                                       -  11.1M         -       -              -          -
localdata-pve1/vm-103-disk-0@before-first-login-attempt                                     -  2.31G         -       -              -          -
localdata-pve1/vm-103-disk-0@__replicate_103-0_1712753129__                                 -  18.8M         -       -              -          -
localdata-pve1/vm-103-state-before-first-login-attempt                                  1.57T  31.4G        0B   9.38G          22.0G         0B
localdata-pve1/vm-103-state-before-first-login-attempt@__replicate_103-0_1712753129__       -     0B         -       -              -          -
localdata-pve1/vm-103-state-dns-fixed                                                   1.57T  29.3G        0B   7.34G          22.0G         0B
localdata-pve1/vm-103-state-dns-fixed@__replicate_103-0_1712753129__                        -     0B         -       -              -          -
localdata-pve1/vm-103-state-network-ok                                                  1.57T  23.8G        0B   1.85G          22.0G         0B
localdata-pve1/vm-103-state-network-ok@__replicate_103-0_1712753129__                       -     0B         -       -              -          -
localdata-pve1/vm-103-state-ready-to-start-migrating                                    1.57T  28.9G        0B   6.95G          22.0G         0B
localdata-pve1/vm-103-state-ready-to-start-migrating@__replicate_103-0_1712753129__         -     0B         -       -              -          -
localdata-pve1/vm-104-disk-0                                                            1.64T   150G     31.5G   27.9G          90.4G         0B
localdata-pve1/vm-104-disk-0@before_systemctl                                               -  15.1G         -       -              -          -
localdata-pve1/vm-104-disk-0@before-apt-upgrade                                             -  13.1G         -       -              -          -
localdata-pve1/vm-104-disk-0@__replicate_104-0_1712753153__                                 -  12.9M         -       -              -          -
localdata-pve1/vm-104-disk-1                                                            1.99T   807G     76.9G    278G           452G         0B
localdata-pve1/vm-104-disk-1@before_systemctl                                               -  42.8G         -       -              -          -
localdata-pve1/vm-104-disk-1@before-apt-upgrade                                             -  34.0G         -       -              -          -
localdata-pve1/vm-104-disk-1@__replicate_104-0_1712753153__                                 -  65.2M         -       -              -          -
localdata-pve1/vm-104-state-before-apt-upgrade                                          1.56T  13.9G        0B   2.43G          11.5G         0B
localdata-pve1/vm-104-state-before-apt-upgrade@__replicate_104-0_1712753153__               -     0B         -       -              -          -
localdata-pve1/vm-104-state-before_systemctl                                            1.56T  10.2G        0B   2.09G          8.12G         0B
localdata-pve1/vm-104-state-before_systemctl@__replicate_104-0_1712753153__                 -     0B         -       -              -          -
localdata-pve1/vm-105-disk-0                                                            1.61T  72.0G      654K   4.58G          67.5G         0B
localdata-pve1/vm-105-disk-0@__replicate_105-0_1712753170__                                 -   654K         -       -              -          -
localdata-pve1/vm-106-disk-0                                                            1.59T  46.6G     8.07M   3.42G          43.2G         0B
localdata-pve1/vm-106-disk-0@__replicate_106-0_1712750402__                                 -  8.07M         -       -              -          -
localdata-pve1/vm-106-disk-1                                                            2.90T  1.35T      171K   19.6M          1.35T         0B
localdata-pve1/vm-106-disk-1@__replicate_106-0_1712750402__                                 -   171K         -       -              -          -
localdata-pve1/vm-107-disk-0                                                            1.61T  66.4G     3.69M   8.54G          57.9G         0B
localdata-pve1/vm-107-disk-0@__replicate_107-0_1712753177__                                 -  3.69M         -       -              -          -
localdata-pve1/vm-107-disk-1                                                            3.36T  1.84T        0B   33.0G          1.81T         0B
localdata-pve1/vm-107-disk-1@__replicate_107-0_1712753177__                                 -     0B         -       -              -          -
root@pve2:/localdata-pve1#

EDIT: Additional info: If I go to the web UI Folder View > Storage > ZFS pool > VM disks and add up the size of all the disks, I get close to 50% of the reported disk space in the web interface. That could make sense since all VMs are replicated.
 
Last edited:

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!