Quota in container - can’t find LABEL=cloudimg-rootfs


(Tom) #1

Hi,

I have problems with ISPmanager in combination with LXD. ISPmanager uses quota limits for webhosting.

When trying to install the module:
mount: /: can’t find LABEL=cloudimg-rootfs.
Can not remount FS

/etc/fstab:
LABEL=cloudimg-rootfs / ext4 defaults,usrquota,grpquota 0 0

ZFS Pool Host:
pool: LXD
state: ONLINE
scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    LXD         ONLINE       0     0     0
      mirror-0  ONLINE       0     0     0
        sdb     ONLINE       0     0     0
        sdc     ONLINE       0     0     0

Is there a solution for this?

Edit 25-12: See https://github.com/lxc/lxd/issues/2319
Still not possible yet?

I’ve tried the following settings without success. (Plesk, ISPmanager, ISPConfig etc.)
lxc config set CT security.privileged true
lxc config set CT raw.lxc ‘lxc.cap.drop=’
lxc config set CT raw.lxc lxc.rootfs.options=usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0