Disk Usage On WHM
Im new to WHM so any advice is appreciated. I have a 10 Cpanel accounts in my vps and the total disk used is 26GB.
However, when I check my Disk Usage, it indicated as 40GB used so I am quite curious where does the 24GB gone to?
I understand the each Cpanel account uses disk space but does it use this much space?
Is this common? If not, what can I look for? Please advice. Thanks.
-
Thank you Michael. I have checked and these are my findings: Apparently, there is an account name "beach" that I have imported from other Cpanel server that is using a lot of space inside the virtfs. 15G/home/virtfs/beach This account only have 5GB of quota but its using 15GB or my diskspace. Is it safe to delete whatever inside this directory? 0 -
Hello :) It's important to never manually delete any data in the /home/virtfs directory. The usage you see is not actual usage, but the usage of the files that are linked via bind mounting in that directory. A bind mount is a transparent link between two places on the file system. For example, if a user views the contents of /home/virtfs/username/usr/bin, the user actually sees the contents of /usr/bin. Thus, the /home/virtfs/$user directory itself is not actually using up any additional space than already exists. Data is not actually duplicated. Documentation on this is found at: 0 -
Thank you. Im really curious now because all the accounts in the server has shell disabled. Why only 2 accounts are shown at /home/virtfs The account beach only uses 1GB of space but its showing 16gb in the /home/virtfs/username What can I do to clear the space? 0 -
Please ignore the above. I have switch to normal shell for this account and the space used indicated as 4.0kb. Now, I found new files. What is these core files? Is this something I can delete? 4.0K/usr/local/cpanel/base/core 23M/usr/local/cpanel/base/core.13775 438M/usr/local/cpanel/base/core.18305 438M/usr/local/cpanel/base/core.2560 438M/usr/local/cpanel/base/core.9425 0 -
Please keep in mind that a /home/virtfs/$username directory does not always indicate the account is allowed shell access. Jailed shell is automatically used for many functions (e.g. cron jobs). As far as the core files, review the "Security" tab in "WHM >> Tweak Settings" to see if the following option is enabled: "Generate core dumps" Per it's description: Allow WHM/Webmail/cPanel services to create core dumps for debugging purposes. Core dumps often contain sensitive information but may be necessary for debugging certain types of service crashes. You can safely remove these files if you no longer need to debug a failed service. Thank you. 0
Please sign in to leave a comment.
Comments
6 comments