How to find total disk space ?
Hello,
i have a VPS with 1600 GB disk space.
I see at Home "Account Information "List Accounts, i have total 56.61 GB Disk Used
Also i run:
i can't understand the above numbers.... I have 56.61 GB and didn't see this number above... How to find total disk space (centos + whm/cpanel + mywebsite (with emails + sql)
[root@demo /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.2T 110G 1012G 10% /
devtmpfs 25G 0 25G 0% /dev
tmpfs 25G 4.0K 25G 1% /dev/shm
tmpfs 25G 73M 25G 1% /run
tmpfs 25G 0 25G 0% /sys/fs/cgroup
/dev/sda1 969M 251M 652M 28% /boot
tmpfs 4.9G 0 4.9G 0% /run/user/0[root@demo /]# du -h --exclude /proc --max-depth=1 /
204M /opt
41M /etc
112K /tmp
4.0K /srv
4.0K /mnt
41G /backup
9.9G /usr
0 /sys
300G /home
249M /boot
73M /run
16K /lost+found
4.9G /var
4.0K /dev
4.0K /media
12M /root
356G /i can't understand the above numbers.... I have 56.61 GB and didn't see this number above... How to find total disk space (centos + whm/cpanel + mywebsite (with emails + sql)
-
The 56 GB you're seeing in WHM is for your cPanel accounts only. It doesn't include the 41GB in the /backup directory, or other files in /home that are not part of a cPanel account. It might be you have cpmove (backups) files in your /home directory, for example. I suggest entering your /home directory, and running something like du -sch * to give you a breakdown of your usage. 0 -
If i want to change hosting packet, can i go to one with 256 GB hard disk ? I want this hard disk space contains cpanel/whm and my websites (files, DBs, emails) 0 -
If i want to change hosting packet, can i go to one with 256 GB hard disk ? I want this hard disk space contains cpanel/whm and my websites (files, DBs, emails)
Based on what you're using I wouldn't looks like based on cPanel + Sites + DB you're using almost double that.0 -
What do you mean Lauren, 256GB is too small? Do you suggest 512GB? What is the minimum size for cpanel + centos ? 0 -
I'm saying based on what you show you're using 256GB would be too small. You show you're using 300GB in /home that alone exceeds the size of the disk you're suggesting and that has nothing to do with cPanel's minimum requirements. The minimum requirements for a cPanel/WHM server are listed here: Installation Guide - System Requirements - Version 76 Documentation - cPanel Documentation 0 -
Hello @thanasis Can you give me an example? Does list accounts show more? In most cases the reason list accounts would be more is the inclusion of files owned by that user in locations other than home such as MySQL databases. 0 -
the list accounts are smaller than the /home directory 0 -
Hello @thanasis Do you have quotas enabled on the server? You can ensure that they're enabled by running /scripts/initquotas
This won't report properly without quotas enabled and functioning.0 -
Yes i have quotas enabled. 0 -
At /home with this command du -sch * , i have 897G total; 789G is virtfs I read that virtfs files are from Jailed Shell. If i disable the Jailed Shell, shall this size of the /virtfs will be decreased ? 0 -
Hi @thanasis VirtFS doesn't actually use any disk space though I do understand why it would be confusing. At this point feel free to open a ticket using the link in my signature as it may be easier to explain the discrepancies you're seeing with access to the server. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
ticket: 11762971 Thank you for your support! 0 -
Hi @thanasis Thanks for updating the thread with the ticket ID it looks like the issue has been resolved, the analyst found that the space discrepancy was due to backups being stored in /home which will cause quotas to not report properly and there was a large amount of space dedicated to some older log files which explained some of the usage you were seeing. Thanks! 0
Please sign in to leave a comment.
Comments
14 comments