🎁 New User? Get 20% off your first purchase with code NEWUSER20 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

Namespace
A Linux kernel feature that provides process isolation by creating separate instances of global system resources.
Network Namespace
A Linux kernel feature that provides isolated network stacks with independent interfaces, routing tables, and firewall rules.
Wget
A command-line utility for downloading files from the web, supporting HTTP, HTTPS, and FTP protocols.
Journalctl
A command-line tool for querying and viewing logs collected by systemd's journal logging system.
ACL (Access Control List)
An extension to standard Linux file permissions that allows setting fine-grained access rights for specific users and groups beyond owner/group/other.
Chroot
A mechanism that changes the apparent root directory for a process and its children, creating an isolated filesystem view.
View All Linux Terms →