Enforce Per-Project XFS Storage Quotas

Two teams share one data volume and one of them has a habit of filling it. Turn on XFS project quotas, cap that team's directory, and prove the cap bites with real data while the other team keeps working.

Skill labadvanced~40 minPro

What you'll do

  • ✓Enable project quota accounting on an XFS filesystem persistently
  • ✓Map a directory to a project id in /etc/projects and /etc/projid
  • ✓Set soft and hard block limits and read the quota report
  • ✓Prove enforcement with real allocated data, then verify it persists across a remount

Lab outline

  1. 01Enable
  2. 02Map
  3. 03Limit
  4. 04Persist

Before you start

  • Build an LVM Application Volume
  • Permissions, umask, and Sticky Directories

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Enforce Per-Project XFS Storage Quotas — Linux lab | Kube Labs