All instructions for this do not work:
https://pve.proxmox.com/wiki/Linux_Container#_using_quotas_inside_containers
I cannot turn on quotas in the GUI even with container stopped. It is greyed out. (I am using an ext4 fs on a zvol).
Near the bottom of this: https://bugzilla.proxmox.com/show_bug.cgi?id=782 it says to
but that gives:
vm 202 - lxc.rootfs.options: lxc.rootfs.options is not supported, please use mount point options in the "rootfs" key
taking out lxc. and just leaving rootfs.options: gives
vm 202 - unable to parse config: rootfs.options: usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
putting those options into the rootfs: line
rootfs: local-zfs:subvol-202-disk-1,size=80G,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
gives vm 202 - unable to parse value of 'rootfs' - format error
I do have lxc.apparmor.profile: unconfined on which parses ok.
this is pve-manager/5.2-1/0fcd7879 (running kernel: 4.15.17-1-pve)
https://pve.proxmox.com/wiki/Linux_Container#_using_quotas_inside_containers
I cannot turn on quotas in the GUI even with container stopped. It is greyed out. (I am using an ext4 fs on a zvol).
Near the bottom of this: https://bugzilla.proxmox.com/show_bug.cgi?id=782 it says to
Code:
/etc/pve/lxc/101.conf
add the line:
lxc.rootfs.options: usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
but that gives:
vm 202 - lxc.rootfs.options: lxc.rootfs.options is not supported, please use mount point options in the "rootfs" key
taking out lxc. and just leaving rootfs.options: gives
vm 202 - unable to parse config: rootfs.options: usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
putting those options into the rootfs: line
rootfs: local-zfs:subvol-202-disk-1,size=80G,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
gives vm 202 - unable to parse value of 'rootfs' - format error
I do have lxc.apparmor.profile: unconfined on which parses ok.
this is pve-manager/5.2-1/0fcd7879 (running kernel: 4.15.17-1-pve)