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?