ZFS und Quota

chaosad

Active Member
Aug 5, 2016
25
0
41
43
Wird es in naher Zukunft irgendwann möglich sein in einem CT die Quota Funktion zu nutzen wenn man ZFS verwendet?
 
Was genau meinst du? ZFS hat aktuell ja schon ein quota über refquota definiert.

Code:
$ fs get all zpool/proxmox/user-test1-dedup/subvol-1012-disk-1 | grep quota
zpool/proxmox/user-test1-dedup/subvol-1012-disk-1  quota                 none                                                default
zpool/proxmox/user-test1-dedup/subvol-1012-disk-1  refquota              8G                                                  local
 
Kann auch gerade ein Denkfehler meinerseits sein, aber wenn ich proxmox mit ZFS eingerichtet habe, kann ich doch beim erstellen von CT keine Quota aktivieren.
Die Quota kann ich doch nur über das Hostsystem setzen oder? Also z.b. mit:

Code:
zfs set quota=10G tank/home/bonwick

Mit LVM-Thin klappt es soweit.
 
Bei ZFS ist es die Diskgröße, die hier im ZFS als refquota repräsentiert wird. Aktuell ist es nicht möglich diesen Wert in der GUI zu ändern, aber auf der Kommandozeile ist es kein Problem.

Mach dir bitte den Unterschied zwischen quota und refquota klar.
 
Ich setz es einfach mit LVM-Thin um, da kann ich innerhalb des LXC mit Quota arbeiten.
Meine Frage war eben nur ob es evtl. mit zfs auch irgendwann gehen würde, dann hätte ich das Setup schon mal damit eingerichtet.
Trotzdem danke für deine Antworten.
 
Wie sieht denn eure config dazu aus?
Würde halt gerne im LXC z.b. ispconfig installieren, mit LVM-Thin klappts, aber eben nicht mit zfs.
Gibt es dafür irgendwo eine Anleitung?

Ich erhalte z.b. folgende Fehlermeldung:
Code:
quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

Wenn ich den LXC von LVM-Thin zum ZFS Storage schiebe kommt:
Code:
cannot enable quota control for bind mounted subvolumes
 
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!