unix
9 minLinux Disk Full Errors: Blocks, Inodes, Deleted Files, and Safe Cleanup
Diagnose ENOSPC when disk usage looks confusing, including exhausted inodes and deleted files still held open.
Loading page...
unix
9 minDiagnose ENOSPC when disk usage looks confusing, including exhausted inodes and deleted files still held open.
Q&A
Q&AInodes may be exhausted, or deleted files may still be held open by running processes.
Compare df -h with df -i. If block usage and directory totals disagree, inspect open-but-deleted files with lsof +L1. A process retains allocated blocks until it closes the file; restart or signal the owning service through its safe lifecycle after confirming the file is disposable.