Unofficial practice
Filesystem Usage Readout
A host reports write errors or low-space warnings. Prove the pressured mount point first, then decide whether bytes, inodes, or the wrong filesystem are the real issue.
Linux One Liners is an independent study and practice resource. It is not affiliated with, endorsed by, or approved by LPI, The Linux Foundation, CompTIA, or any certification provider. This site does not provide exam dumps or real exam questions.
Try first
df -h && df -i
Troubleshooting ladder
- Name the symptom.
- Inspect read-only state.
- Find the owner, service, file, device, mount, or route.
- Read the decisive output field.
- Choose the next narrow command.
- Avoid broad or destructive changes.
- Make the smallest justified change if required.
- Verify and record what changed.
drill evidence
Sample output and answer key
Command anatomy
df -h && df -i
df- summarize filesystem pressure
-h- human-readable byte usage
-i- inode usage instead of bytes
target- scope the question to a mount point
Annotated output
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 40G 39G 220M 100% /
/dev/nvme0n1p3 200G 82G 118G 42% /home
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/nvme0n1p2 2621440 2621400 40 100% /
4.0K /var/tmp
180M /var/log
2.8G /var/lib
What to notice
- filesystem
- the device or volume under pressure
- mounted on
- the scope of the problem
- Use%
- byte pressure
- IUse%
- inode pressure
- Avail/IFree
- how much room remains
- /var child
- which top-level directory is growing inside the likely hot path
Safe vs unsafe move
Common wrong move
Cleaning /home when / is the full filesystem.
Next safe command
sudo find /var -xdev -type f -size +100M -printf '%s %p\n' 2>/dev/null | sort -nr | head
Goal
Prove the condition with command output before changing the system.
Safe first command
df -h && df -i
Correct interpretation
The decisive fields are `filesystem`, `mounted on`, `Use%`. The affected object is the pressured mount point and the directory tree under it. The next safe command is `sudo find /var -xdev -type f -size +100M -printf '%s %p\n' 2>/dev/null | sort -nr | head` because it narrows the evidence without jumping to a broad fix. Watch out for this wrong move: Cleaning /home when / is the full filesystem.
Next safe command
sudo find /var -xdev -type f -size +100M -printf '%s %p\n' 2>/dev/null | sort -nr | head
Common wrong move
Cleaning /home when / is the full filesystem.
Self-check
Which mount point is actually under pressure, and does the output prove byte usage, inode usage, or both?
source and objective
Related cert objective
Source status: LPI LPIC-1 overview verified July 3, 2026. Current version 5.0; exams 101-500 and 102-500.
Related command pages
Why this matters
The point is not to memorize a flag. It is to read the evidence, name the next safe check, and avoid the tempting broad fix.