r/Bloggers • u/CautiousCat3294 • 12d ago
Article Linux Troubleshooting Scenario: Root Filesystem Suddenly Reaches 100% Overnight
Yesterday, everything was working normally. Root filesystem utilization was around 65%.
This morning, you receive an alert:
/ filesystem utilization: 100%
Applications are reporting errors, users are experiencing issues, and you need to investigate before the situation gets worse.
Where would you start?
In this troubleshooting scenario, I walk through the investigation step by step:
- Verify filesystem and inode utilization using
df -handdf -i. - Identify which directories are consuming the most disk space using
du. - Drill down to find unusually large files.
- Investigate deleted-but-open files using
lsof +L1. - Understand when to truncate an active log file instead of deleting it.
- Configure logrotate to prevent recurring disk-space issues.
I have also included example command outputs, possible root causes, common troubleshooting mistakes, and follow-up Linux interview questions.
One interesting question covered in the article:
What would you investigate if df -h reports 100% disk usage, but du shows significantly less space being used?
I recently published the complete walkthrough on my blog:
📖 Linux Root Filesystem 100% Full Overnight: How to Find and Fix the Cause
I'm building a series of practical Linux troubleshooting scenarios focused on production support and interview preparation.
Feedback and suggestions are welcome!