Is it possible to use disk quota inside a LXC container?
I'm using LVM (ext4
) as rootfs
for the container. I don't now how to add the mount options to /etc/fstab
properly.
The /etc/fstab
of the container:
rootfs / rootfs rw,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 0
This is what quotacheck -cug /
returns:
quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
Output of mount
: