Sitemap

About the Linux File System and Inode

3 min readAug 11, 2024

Linux File System

In my previous articles, I shared detailed information on this topic. You can find more detailed information about this in my article on the Ext4 File System.

As the name suggests, a file system includes a structure where files are stored. Your disk space might not be full, but your inode count could be exhausted. :)

So, what is an Inode?
Inode stands for “index node.” It is a data structure in Unix-like file systems. It stores all the information within the file system. All details except the file name are stored within the inode.

  • Owner
  • Group the owner belongs to
  • Creation date
  • Size
  • Number of links
  • Type
  • Access rights
  • Last access date
  • Date of the last modifications
  • And other information

In Unix operating systems, since every process is considered a file, each inode represents one file. Every file has an inode. Directories, character files, block devices, processes, etc., are all considered files.

Each inode has a unique number within the file system. If your inode space within the file system is full, you will not be able to create any new files, which can cause the operating system to malfunction. If you encounter such an issue and your inodes are completely exhausted, you can free up space by deleting unnecessary files.

Let’s explore some details about inodes on the file system together.

Viewing File Inode ID

Zoom image will be displayed

File System Inode Usage Rate

Zoom image will be displayed
https://www.howtogeek.com/wp-content/uploads/2019/12/2-5.png

Viewing File System Inode Size

Zoom image will be displayed
https://www.cyberciti.biz/faq/linux-show-contents-of-filesystem-superblock-inode/#:~:text=The%20%2Dl%20option%20lists%20the,be%20useful%20for%20tuning%20purposes.
Zoom image will be displayed
https://i.ytimg.com/vi/cE5kQ8YnJ3Q/maxresdefault.jpg

--

--

Birol EMEKLİ
Birol EMEKLİ

Written by Birol EMEKLİ

Systems Administrators | DevOps | ML & DP | Python | Django

No responses yet