A short checklist for the disk-full page
Written after doing these in the wrong order once too often.
df -handdf -i. Space and inodes fail differently.du -xh --max-depth=2 / | sort -h | tail. Stay on one filesystem with-x.- Deleted but open files:
lsof +L1. Restart the holder, do not hunt the file. - Journal size:
journalctl --disk-usage, then setSystemMaxUse. - Container logs and dangling images.
- Package caches.
Afterwards
Add an alert at 80 percent. The fix is never as interesting as learning why nothing warned you.