The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
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.