Can’t make quota work inside an lxc container

sinjab

New Member
May 9, 2023
2
1
1
I’m on PROXMOX Virtual Environment 7.4-3. I installed Ubuntu 22.04 inside an lxc container. It’s privileged with quota option checked. I cannot make quota to work.

Code:
# quotacheck -cugm /
quotacheck: error (1) while opening /dev/loop8


cat /proc/mounts | grep /
/dev/loop8 / ext4 rw,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0


Any help is appreciated. Thanks.
 
I figured out that I have to do this :
Code:
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0 something"
Any idea when can quota work with cgroup v2?
 

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!