Installation with LXC (Quotas)
-
- Posts: 4
- Joined: Mon 16. Sep 2024, 13:54
Installation with LXC (Quotas)
Has anyone successfully installed KeyHelp in an LXC container and got quotas working with ext4 on both container and host?
Would you to care to share the specifics of what you did? Or does LXC just not support it?
On a side note, does KeyHelp expect quotas on the root filesystem or just the user directories?
Thanks all.
Re: Installation with LXC (Quotas)
I looked into this as part of my own deployment and unfortunately, running KeyHelp in an LXC container with working user quotas on ext4 is… not really practical.
KeyHelp relies on system-level user quotas to manage hosting limits, mail storage, etc. While you might get some things working in a privileged LXC with the right mount flags, most setups (especially with Proxmox or ZFS) just don’t support classic usrquota/grpquota in containers.
A full VM is the way to go if you want quota support to "just work" — the KeyHelp installer handles it cleanly in that environment.
My KeyHelp is on:
EPYC 7532 | 128GB ECC | Proxmox VE 8 (ZFS root)
KeyHelp VM: Ubuntu 24.04, 4 vCPU, 12GB RAM, SSD-backed ZFS
Static IP, VirtIO NIC, ZFS autotrim, Netdata monitoring
Re: Installation with LXC (Quotas)
LXC is not the right choice for KeyHelp.
Better try KVM virtualisation.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser