Skip to main content

Disk Usage On WHM

Comments

6 comments

  • cPanelMichael
    Hello :) The following document explains how you can review the disk space usage on your system to see where the space is coming from:
    0
  • Din
    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
  • cPanelMichael
    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
  • Din
    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
  • Din
    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
  • cPanelMichael
    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.