Additional Resources - Red Hat ENTERPRISE LINUX 3 System Administration Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

Chapter 6. Implementing Disk Quotas
The easiest way to run it periodically is to use
schedule a periodic
quotacheck
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
different times with multiple cron tasks.
Refer to Chapter 37 Automated Tasks for more information about configuring
6.2.3. Enabling and Disabling
It is possible to disable quotas without setting them to be 0. To turn all user and group quotas off, use
the following command:
quotaoff -vaug
If neither the
or
-u
-g
only group quotas are disabled.
To enable quotas again, use the
For example, to enable user and group quotas for all file systems:
quotaon -vaug
To enable quotas for a specific file system, such as
quotaon -vug /home
If neither the
or
-u
-g
only group quotas are enabled.

6.3. Additional Resources

For more information on disk quotas, refer to the following resources.
6.3.1. Installed Documentation
The
,
quotacheck
or place a script that runs
options are specified, only the user quotas are disabled. If only
command with the same options.
quotaon
options are specified, only the user quotas are enabled. If only
,
edquota
repquota
. As root, either use the
cron
quotacheck
:
/home
,
,
, and
quota
quotaon
crontab -e
in any one of the following
for each file system at
quotacheck
.
cron
man pages
quotaoff
25
command to
is specified,
-g
is specified,
-g

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 3 and is the answer not in the manual?

Table of Contents