ZFS / für vm-disks kein Platz mehr frei - Speicher reicht aber aus

muelli75

Member
Oct 2, 2021
8
0
6
48
Hallo!

Unter PVE 8.2.4 möchte ich noch eine weiter vm-disk anlegen. Die GUI sagt, dass mein Pool voll ist (siehe Screenshot).
Bildschirmfoto 2024-09-15 um 14.44.27.png

Aber ein beherztes zfs list gibt aus, dass noch 47.gb frei wären. Das ergäbe auch meine überschlagsweise Berechnung der Größen die in der GUI angeben sind (siehe Screenshot).
Code:
root@pve: zfs list
NAME                                             USED  AVAIL  REFER  MOUNTPOINT
zfsdatap4m                                      1.71T  47.3G    96K  /zfsdatap4m
zfsdatap4m/vm-101-disk-0                         276G   227G  95.5G  -
zfsdatap4m/vm-102-disk-0                         144G   143G  49.2G  -
zfsdatap4m/vm-103-disk-0                         199G   191G  54.5G  -
zfsdatap4m/vm-103-state-SnapVom20240915         10.8G  58.2G    56K  -
zfsdatap4m/vm-107-disk-0                           3M  47.3G   152K  -
zfsdatap4m/vm-107-disk-1                         206G   238G  15.4G  -
zfsdatap4m/vm-107-disk-2                           6M  47.4G    68K  -
zfsdatap4m/vm-109-disk-0                         132G   156G  23.5G  -
zfsdatap4m/vm-112-disk-0                        3.36M  47.3G   104K  -
zfsdatap4m/vm-112-disk-1                         765G   563G   151G  -
zfsdatap4m/vm-112-disk-2                        6.29M  47.4G    84K  -
zfsdatap4m/vm-112-state-NachSilviasEinrichtung  16.8G  58.2G  5.92G  -

Bildschirmfoto 2024-09-15 um 14.46.48.png

Habt ihr Ideen dazu was pve dazu verleitet hier falsch zu liegen?

Danke für jeden Hinweis!

BG, Martin
 
Man sollte einen ZFS Pool nie so voll machen. Üblicherweise sagt man sobald der Pool zu 80% voll ist entweder Daten löschen oder neue Disks kaufen. Nicht vergessen das ZFS ein Copy-on-Write Dateisystem ist und Dinge wie Snapshots mit der Zeit von selbst wachsen, selbst wenn du das Thin-Provisioning nicht für den Storage aktiviert hast. Und falls du Thin-Provisioning aktiviert hast, dann sollte man erst Recht gucken, dass da immer sehr großzügig Platz verfügbar ist, da nichts die VMs davon abhalten wird immer weiter zu schreiben, bis der Pool dann überläuft, den Dienst einstellt und es zu Datenverlust kommt.

Besser als "zfs list" ist für sowas noch "zfs list -o space". Auch ein "zpool list -v" ist da hilfreich. Wenn du z.B. ein Raidz1/2/3 mit zu kleiner Volblocksize nutzt, dann wäre es ganz normal, dass da eine virtuelle Disk auf dem Pool deutlich mehr Platz brauchen kann, als wie die virtuelle Disk groß ist.
 
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!