User Quotas is used to allocate a maximum amount of disk space for an individual server user or a group to use on the server. The disk space can be edited in the file /etc/fstab.
Let’s go ahead and enable user quotas.
First, open up the /etc/fstab file.
In the file, search for the following line and update with ‘usrquota’.
LABEL=DOROOT / ext4 errors=remount-ro,usrquota 0 1
Save and exit the file.
Your file should look similar to this:
LABEL=DOROOT / ext4 errors=remount-ro,usrquota 0 1 none /dev/shm tmpfs defaults 0 0
Lastly, remount the file system which had a change for fstab entry:
mount -o remount /