• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

+80% disk inodes used...

D

dwjrfernandes

Guest
Hey!

I got a little problem, my box has more than 80% of inodes used, however, only 4% of the disk space is used...

#df
Filesystem 1K-blocks Used Available Use% Mounted on
vzfs 114207091 4065676 103065988 4% /
vzfs 114207091 4065676 103065988 4% /var/named/run-root/var/run/dbus

#df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
vzfs 200000 162842 37158 82% /
vzfs 200000 162842 37158 82% /var/named/run-root/var/run/dbus


What should I do? Can I change this?


Thanks
 
Can you find any directories with large amounts of small files? Usually this is the cause of running out of inodes. Once I purged thousands of small logfiles from a directory and I had to delete the directory and recreate it to clear the inodes, else it still looked huge with ls -li.
 
I don't know where to look for small files... Also, isn't it possible to increase the number of inodes (without re-formating the all thing)?

Thanks
 
Not with ext3, if you're using xfs you can do it with mkfs.xfs. Your problem might also be with your virtual server provider, they can set a quota on the number of inodes you will have access to. I'd start with them.
 
Thanks scott, I've just posted a support ticket to them :)
 
Back
Top