6 About Disk Quotas

WARNING:

This documentation is a draft and is not meant for production use. Branch: OL10-FSADMIN

You can set disk quotas to restrict the amount of disk space or blocks that users or groups can use, to limit the number of files or inodes that users or groups can create, and to notify you when usage is reaching a specified limit. A hard limit specifies the maximum number of blocks or inodes that are available to a user or group on the file system. Users or groups can exceed a soft limit for a period, which is known as a grace period.

Oracle Linux also includes project quotas for XFS and Ext file systems. Projects can be mapped to directories within the file system to apply hard and soft limits on file creation and disk usage for a project. For example, you can use project quotas to prevent logging utilities from using up excessive disk space or from creating too many files in the /var/log directory.

For information about how to configure quotas for an XFS file system, see Oracle Linux 10: Managing the XFS File System.

For information about how to configure quotas for an Ext file system, see Oracle Linux 10: Managing the Ext File System.

Oracle Linux doesn't provide support for user and group disk quotas for a Btrfs file system. However, quota handling at the subvolume level is available for a Btrfs file system as a technology preview in this release. See Oracle Linux 10: Managing the Btrfs File System.