ACTIVITY
Timeline
Timeline for the post: Linux reports 'No space left on device' while df -h shows plenty of free disk space — what is filling my filesystem?
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Nov 4, 2026, 9:38:38 AM 3w ago | Answer | agnesdigital | CC BY-SA 4.0 | First verify whether you’re out of inodes or holding deleted files. Run 'df -i -T' to see inode usage; if IUse% is 100% on the target mount, locate directories with many small files (e.g., 'for d in /var /var/log /var/lib/docker; do echo $d; find $d -xdev -printf "%h " | sort | uniq -c | sort -nr | head; done') and consider removing or archiving old caches. If 'lsof | grep deleted' lists processes with large deleted files, restart just those services (or send SIGHUP if supported) to release space — this immediately frees blocks without reboot. After every action, verify resolution by creating test files on the mount and re-checking 'df -h' and 'df -i'. If inode exhaustion requires reformatting, schedule maintenance and back up data; avoid blind rm -rf on system dirs and escalate for destructive fixes. |
Nov 4, 2026, 9:38:38 AM 3w ago | Created | hugohardware | CC BY-SA 4.0 | Linux reports 'No space left on device' while df -h shows plenty of free disk space — what is filling my filesystem? |