Abstract


  • Stands for Index Node
  • Essentially an identification number associated with a data structure that contains metadata about a piece of data (like a file or directory) stored on the File System
  • This metadata includes information such as permissions, ownership, timestamps, and pointers to the actual data blocks, but it does not include the data itself or the name of the file or directory

File deletion

The data cant be overridden as long as the number of Hard File System Link isn’t 0.

Show content of the inode data structure

stat a

Inode Number

  • To uniquely identify a File
# Obtian the inode number
ls -i

Inode Exhaustion


  • We are unable to create new File System even if there is still space on Disk. Because we have no more Inode to record the metadata of the data piece on the Disk

When can this happen and how can it be handled?

This can happen when we have a lot of small files like cache files.

his problem can be avoided on ZFS (Zettabyte File System) where Inode is allocated dynamically

Check the total number inode available & used

df -i