8.7 Flashcards
Prevents a user or group from using a disproportionate amount of disk space on a volume
Disk quota
Use yum, zypper, or apt-get to install the quota package on the system where quota limits will be set.
Install quota package
Edit the /etc/fstab file to add the mount options for the file system to enable quotas:
Edit mount options in /etc/fstab
Create the aquota.user and aquota.group files in the directory where the partition is mounted.
create quota files
Enable disk quotas and then generate a disk usage and quota report.
Enable quotas and view a quota report
Edit a quota for the specified user or group.
edit quotas
To create the aquota.user and aquota.group files in the file system (after placing the quota entries in /etc/fstab). Common options include:
quotacheck -mavug
Enables quotas for the mounted file system as follows:
quotaon
Disables quotas for the mounted file system.
quotaoff
Displays a summary of the disc usage and quotas for the specified file systems, including the specific number of files and used space by user.
repquota
Opens and edit a user’s quota, a group’s quota, or change the grace period:
edquota
Displays the current user’s quota:
quota