What is an inode, and what happens when inodes run out?

IntermediateConceptLinux and shell
Answer

An inode stores a file's metadata (owner, permissions, block pointers) but not its name. When inodes run out you can't create files even if df -h shows free space. Millions of tiny files are the usual cause.

df -i
All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell