block exhaustion
A filesystem running out of free data blocks, so it cannot store more bytes even though it may have inodes left.
In more detail
Writes fail with no space left on device. Find the full mount with df -h, rank directories with du, and remember that deleted-but-open files and reserved blocks can explain a gap between them. Cleaning before measuring can remove evidence while leaving the real cause in place.
Related terms
- inode exhaustion — A filesystem running out of inodes, so no new files can be created even though free space remains.
- df — The command that reports total, used and free space for each mounted filesystem.
- du — The command that adds up how much disk space a directory and everything below it uses.
- deleted but open file — A file whose last name has been removed but whose data still uses disk space because a process keeps it open.
- reserved blocks — Space an ext filesystem keeps back for root, by default 5 percent, so the system can keep working when users fill the disk.
Taught in
- Running Out Of Space: df, du And Inodes — Linux Fundamentals & Systems Administration