cpanel account not showing correct inode under statistics
I have a cpanel with approximate 700gb size,
running this command from the /home/$cpaneluserdir " echo "Detailed Inodes usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"" i get a total inode of 342724 but the inode size under cpanel statistics is showing 1,001,933, i have tried refreshing inodes using the command repquota -u $cpaneluser but the correct inodes size is not updated, anyone with a solution to resolve this issue.
-
Hey there! I ran your command on a test account and that showed me the exact same value as the cPanel >> File Usage option, so I can't say for sure why it would be off by so much on your machine. Just to make it a bit prettier for reference, here is that command:
for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
Can you try the details here to see if they more closely match?
https://support.cpanel.net/hc/en-us/articles/360058825913-File-Usage-showing-incorrect-details
0 -
I have tried running the command, seems it shows total inodes 348578 on terminal but same not reflecting on cpanel file usage statistics, am getting 1,008,270, i had to increase the inode limit for this particular cpanel account as i run a webhosting server which i have defined packages and the inodes are one of the limits i use to define the packages i use cloudlinux7.9 and cpanel version 110.0.24, could this be a cpanel bug ?
0 -
I can't say for sure, but it would be best to submit a ticket so we can check both cPanel and CloudLinux to see what is happening on the system.
0
Please sign in to leave a comment.
Comments
3 comments