Chapter 13. Implementing Disk Quotas

Chapter 13. Implementing Disk Quotas

13.1. Configuring Disk Quotas
13.1.1. Enabling Quotas
13.1.2. Remounting the File Systems
13.1.3. Creating the Quota Database Files
13.1.4. Assigning Quotas per User
13.1.5. Assigning Quotas per Group
13.1.6. Assigning Quotas per File System
13.2. Managing Disk Quotas
13.2.1. Enabling and Disabling
13.2.2. Reporting on Disk Quotas
13.2.3. Keeping Quotas Accurate
13.3. Additional Resources
13.3.1. Installed Documentation
13.3.2. Related Books

Disk space can be restricted by implementing disk quotas which alert a system administrator before a user consumes too much disk space or a partition becomes full.

Disk quotas can be configured for individual users as well as user groups. This kind of flexibility makes it possible to give each user a small quota to handle "personal" files (such as email and reports), while allowing the projects they work on to have more sizable quotas (assuming the projects are given their own groups).

In addition, quotas can be set not just to control the number of disk blocks consumed but to control the number of inodes (data structures that contain information about files in UNIX file systems). Because inodes are used to contain file-related information, this allows control over the number of files that can be created.

The quota RPM must be installed to implement disk quotas.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-4 because CentOS-4 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-4 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.