Apr 12, 2026

Lab: Diagnosing Disk and Inode Issues on Linux Systems

Objective

Identify disk exhaustion scenarios and resolve them safely.


Step 1: Check Disk Usage

df -h

Step 2: Check Inode Usage

df -i

Step 3: Identify Large Consumers

du -sh /var/log/*

Resolution Example

journalctl --vacuum-time=7d
rm -rf /tmp/*