Chapter 13. Implementing Disk Quotas
The easiest way to run it periodically is to use cron. As root, either use the crontab -e command to
schedule a periodic quotacheck or place a script that runs quotacheck in any one of the following
directories (using whichever interval best matches your needs):
• /etc/cron.hourly
• /etc/cron.daily
• /etc/cron.weekly
• /etc/cron.monthly
The most accurate quota statistics can be obtained when the file system(s) analyzed are not in active
use. Thus, the cron task should be schedule during a time where the file system(s) are used the least.
If this time is various for different file systems with quotas, run quotacheck for each file system at
different times with multiple cron tasks.
Chapter 34, Automated Tasks
Refer to
13.3. Additional Resources
For more information on disk quotas, refer to the following resources.
13.3.1. Installed Documentation
• The quotacheck, edquota, repquota, quota, quotaon, and quotaoff man pages
13.3.2. Related Books
• Introduction to System Administration ; Red Hat, Inc — Available at
docs/
and on the Documentation CD, this manual contains background information on storage
management (including disk quotas) for new Red Hat Enterprise Linux system administrators.
122
for more information about configuring cron.
http://www.redhat.com/
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?