To enable user or group disk quotas on a file system:
Install or update the quota package:
#
yum install quota
Include the
usrquota
orgrpquota
options in the file system's/etc/fstab
entry, for example:/dev/sdb1 /home ext4 usrquota,grpquota 0 0
Remount the file system:
#
mount -o remount /home
Create the quota database files:
#
quotacheck -cug /home
This command creates the files
aquota.user
andaquota.group
in the root of the file system (/home
in this example).
For more information, see the quotacheck(8)
manual page.