Abstract


  • Stands for Index Node
  • In order to have data stored on the Disk, we must have an Inode associated with it, otherwise we will have Inode Exhaustion
  • 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
  • We can list out the content of the data structure using stat a
  • The data cant be overridden as long as the Hard isn’t 0

Terminologies


Inode Number

# Obtian the inode number
ls -i

Inode Exhaustion

# Check the total number inode available & used
df -h
  • We are unable to create new File System even if there is still space on Disk. Because we have no more inode to maintain the metadata of the data piece on the Disk
  • This can happen when we have a lot of small files like cache files
  • This problem can be avoided on ZFS where Inode is allocated dynamically