inode exhaustion
A filesystem running out of inodes, so no new files can be created even though free space remains.
In more detail
It is caused by huge numbers of tiny files, such as a runaway cache or mail spool, and shows up as no space left on device while df -h looks fine. df -i reveals it. The fix is removing files, not freeing bytes.
Related terms
- inode — The record a filesystem keeps for each file, holding its owner, mode, size, timestamps, link count and the location of its data blocks, but not its name.
- block exhaustion — A filesystem running out of free data blocks, so it cannot store more bytes even though it may have inodes left.
- df — The command that reports total, used and free space for each mounted filesystem.
- ext4 — The default filesystem on many Linux distributions, a journaling filesystem that stores files in blocks tracked by inodes.
Taught in
- Running Out Of Space: df, du And Inodes — Linux Fundamentals & Systems Administration