๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Intermediate

What is Disk Quota?

A system for limiting the amount of disk space or number of files that individual users or groups can consume on a filesystem.

Disk quotas prevent individual users from consuming excessive storage on shared systems. Two types exist: block quotas (limit space in KB/MB/GB) and inode quotas (limit number of files). Each can have a soft limit (warning threshold with a grace period) and hard limit (absolute maximum). Setup involves enabling quotas in /etc/fstab, creating quota database files, and configuring limits with edquota. The repquota command generates usage reports. XFS filesystems have built-in quota support through xfs_quota. Quotas are essential for multi-user servers, hosting environments, and email servers.

Related Terms

Logrotate
A utility that manages automatic rotation, compression, and removal of log files to prevent disk space exhaustion.
Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
Wget
A command-line utility for downloading files from the web, supporting HTTP, HTTPS, and FTP protocols.
Firewalld
A dynamic firewall management tool for Linux that provides a D-Bus interface for managing firewall rules with zones.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
View All Linux Terms โ†’