how to get rid of 100% inodes
Suddenly from this afternoon my site stops working. then i find out its the inodes that gone to 100% was the reason. then after many searching i found the following article and that solved my issue. but not entirely.
No space left on device – running out of Inodes
i followed above tutorial and freed up 5% of innodes by removing only one folder /usr/src with the following command.
rm -rf /usr/src
now i just want to be confirm about 1 thing. that command only delete bad empty files not important files as well? because i have just delete one folder with that command and freed up 5% inodes. but i have couple of more folders with large number of files but im a bit scared to apply this with those.
because after the above command now i can see the whole src folder is deleted.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.