Linuxlab

Free inodes: df -i

Updated July 3, 2026

df -h shows free space, df -i shows free inodes. They are different resources.

df -h .     # space in bytes
df -i .     # inodes: total, used, free

If df -i shows 100%, new files fail with 'No space left on device' even though df -h says there is room. The usual culprit is a directory with a million tiny files.

Used in

You need this in the lesson Inodes and links.