Resolving no free inodes space left issue – inode usage full

In production, I faced issue once when servers had no inode space left but disk space was available. This post is about how to troubleshoot such issue.

First of all, we will check disk space usage with $df command

So, lot of disk space available here.

Now, We will do $df –i to check the inode usage. If you have less 100 inode usage that means you should free your inode usage by deleting a huge amount of small unused files.

 

How will you find them?

This will help you to find the number of files in each directory. If you find a huge amount of empty files in any directory, better to delete them.

Use this command to remove them.

Now, check inode usage again using $df -i