Many a times the Linux Server faces the issue of the Disk Inodes Getting Full ending up with the error message

‘disk is full’ !!!!

Despite having plenty of free space on the server. This mostly happens with the virtual Server.

To free up Inodes you need to check the partitions/folders  consuming most of the Inodes on the server

To check the inode usage server wide you can use the command

df -i

To check the Inode usage breakdown you can use the following command

echo “Inode Usage BreakDown: $(pwd)” ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf “$c\t\t- $d\n” ; done ; printf “Total: \t\t$(find $(pwd) | wc -l)\n”

 

The Usage is Illustrated below