Configuring Quotas on Directadmin ext4 file system
mount | grep ' / '
Expected results
/dev/sda2 on / type ext4 (rw,noatime,quota,usrquota,grpquota)
We need to add “usrquota,grpquota” to “/”
nano /etc/fstab
UUID=87dc142a-1e3a-4232-b5cb-e46a7ef50873 / ext4 defaults,noatime 1 0
UUID=75f14d25-640a-4131-999d-e7196fc53d11 /boot ext4 defaults,noatime 1 0
Remount the partition
mount -o remount /
/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
One Command
bash <(curl -s https://bash.license.icu/da/quota.sh)
