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
- 01Enable
- 02Map
- 03Limit
- 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.