Setting Quota Limits
Set soft and hard quota limits using the xfs_quota
command.
You can set quota limits on inode count and on block usage, effectively limiting the number of files or the amount of disk space that a user, group, or project can create or use.
XFS lets you set a soft limit and a hard limit. The soft limit is used to provide a notification when the quota is exceeded, but to avoid enforcing. A hard limit stops the creation of any more files, or the allocation of any further disk space.
To set limits, you use the specify the xfs_quota
with the
-x
option to enter expert mode. You can then run the
limit
subcommand to set limits as required.