What do Mean by Inodes (index node)? - CloudMinister

What do mean by Inodes (index node) ? 

It is a record stored in the inode table, containing the information about the files and directories.
An inode is denoted by the phrase “file serial number”. It is just like the actual address of the file. It is a unique identifier.
There are 3 distinct areas in Linux on which our hard drives depend.

 

a) Super block          b) Inode table  c) Data block
  • It contains the type of file system       
  • All the information about the file in linux
  • All the real data is stored in the data  block.
  • Size of the file
  • Like creation and modification date
  • When you delete something from the hard drive it doesn’t get deleted permanently, it just unlinked from the inode table unless it get overwritten by newer data
  • They store redundantly on the disk (duplicate)

       (backups)

  • The reference of the data is stored in the inode table
  • In most cases the data can be recovered even after you’ve deleted it.

Soft link & Hard link

Soft link are similar to MS windows shortcut.

  • One file can have many shortcuts pointing to it.
  • Directory soft link
    ** dir007 is a dir. and dir is soft link.

File soft link

** file1= file and f1 is a shortcut link           ** 1 denotes the only one link

If we remove the original file the soft link will automatically be deleted.

Hard Link are just different names for the same file

  • One file can have many different names or hard links.

  • The files have the same inode no.

  • We cannot create hard links for the directories.

If we remove the file the hard link will not be removed.

Conclusion: Finally we will learn what is inodes, three distinct areas on which hard drive depends and what is soft & hard link.

Learn how to scale, manage, and optimize your applications with a SLB. Read our solution brief "Get More from Your Enterprise Network".

DOWNLOAD SOLUTION BRIEF

Get started with CloudMinister Today