rootfs 100% no free inodes

asmar

Renowned Member
Nov 15, 2014
108
0
81
Hi all,

I've got plenty of GBs free but df -i reports:

root@server1:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounte
d on
rootfs 5029888 5029888 0 100% /
udev 1023481 336 1023145 1% /dev
tmpfs 1024970 317 1024653 1% /run
/dev/disk/by-uuid/1c56ce75-4d63-4489-9fce-c257d5269afa 5029888 5029888 0 100% /
tmpfs 1024970 5 1024965 1% /run/l
ock
tmpfs 1012170 2 1012168 1% /run/s
hm

Due to have rootfs 100% I can't login to my app nor do many other things.
I was trying to find how to increase inodes for this VM without luck.
It is a KVM based VM.

Any help is much appreciated.
 
You cannot increase inodes, just delete files. Each inode entry is for a (unix) file, therefore you have a lot of files/directories on your system. Find them and delete them.
 
My solution is to find where the inode is fillling:
for i in /*; do echo $i; find $i |wc -l; done
And the go in deep to find problematic folder.
I usually have problem with maildrop folder, but i dont know about your problem.