Naeem Javid

Registered
Dec 4, 2019
2
0
0
Pakistan
cPanel Access Level
Website Owner
I have a hosting plant where I've limit of 350K Inodes Limit. Now I know the basics of getting Inodes like deleting emails, or temp files etc. Still, I want to recover more as I've again reached the hard limit again (and my backup have been disabled).
My question is what are the best ways to get free Inodes. Please point me to any link or video in this regards or explain at your own hand.
I'll be really helpful.
Regards
Naeem Javid
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hello,

Every file and directory on the system contains an inode. Inodes store information about files and directories (folders), such as file ownership, access mode (read, write, execute permissions), and file type. On many types of file system implementations, the maximum number of inodes is fixed at file system creation, limiting the maximum number of files the file system can hold.

This being said, the common issue that most run into with inode usage is instances where there are many small files, such as mail or caches. '
If you have SSH access the following can get you detailed inode usage information per directory :

Code:
clear;echo "Detailed Inode usage: $(pwd)" ; for d in [ICODE]find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort[/ICODE]; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
Otherwise you may need to contact your host to have them provide you a breakdown of your inode usage.