An inode is the on-disk structure holding a file's metadata: type, size, owner and group, permissions, timestamps, link count and pointers to its data blocks; it does not store the file name, which lives in directory entries that map names to inode numbers.
Inode pointers are usually direct blocks plus single, double and triple indirect blocks, so small files are fast and large files are supported.
A file system can run out of inodes (check with df -i) even when space remains, for example with millions of tiny files.
Loading…