What is inode and where this is stored

Today we will understand about the basic of inode. What inode and where this is stored. How to Get Total Inodes of Root Partition

As per the redhat blog, an inode isĀ an index node. It serves as a unique identifier for a specific piece of metadata on a given filesystem. Each piece of metadata describes what we think of as a file.

Few facts regarding inode:
– inodes operate on each filesystem, independent of the others
– each filesystem mounted to your computer has its own inodes
– An inode number may be used more than once but never by the same filesystem.
– every system is different inode. Generally, the ratio of inodes is 1:16KB of system capacity.

How to check available inode and their usage

Check inode from command line

We can also check the file and directory level inode usage:

Check the inode for a file:

Find the inode number being used by a file

Check the inode being used by directory

Fine inode number for a directory

Leave a Reply