How do I accomplish setting up project quota for my live root folder being ext4 on Ubuntu 18.04?
Documentation specific to project quota on the ext4 filesystem is basically non-existent and I tried this:
- Installed Quota with
apt install quota -y
/etc/fstabfor the root / and rebooted, filesystem got booted as read-only, no project quota (from here only with prjquota instead of the user and group quotas)
find /lib/modules/`uname -r` -type f -name '*quota_v*.ko*'was run and both kernel modules
/lib/modules/4.15.0-96-generic/kernel/fs/quota/quota_v1.kowere found (from this tutorial)
update-gruband rebooted, machine does not come up anymore.
update-gruband restarting did show
usrquotabeing enabled on root, but it does not work with
projectbeing set as an rootflag
I need this for the DIR storage backend of LXD to be able to limit container storage size. What else can I try?