Intro:
I was working on a system that suddenly showed no more space available in system even though ‘df -h‘ showed that there was still lost of space left. The command ‘df -hi‘ showed me that there were no iNodes left in system: all used. Some sites are showing how to find the directories that use the most iNodes but in this case they didn’t help since some components of the commands need temporary disk space.
Solution:
One of the suggested commands which worked very well in this case is the following found at this site in Post No. 20:
//unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used
du /* --inodes -S | sort -rh | sed -n '1,50{/^.\{71\}/s/^\(.\{30\}\).*\(.\{37\}\)$/\1...\2/;p}