Skip to main content

Disk usage doesn't appear to be counting add-on domains.

Comments

16 comments

  • Infopro
    The docs may be of some use to you: How to Manage your Hard Drive Space - cPanel Knowledge Base - cPanel Documentation
    0
  • Remotech
    du -hs /home/ shows.. 28G /home/ In WHM on the account list it shows this account is using 2160 MB.. So somewhere the numbers are not calculating correctly..
    0
  • Remotech
    Just came across this and tried what it said.. vpsineu.com/blog/disk-space-usage-showing-0-mb-on-a-cpanel-vps/ Now that large account is showing 57448 MB in WHM which is also incorrect because frontend/paper_lantern/diskusage/index.html is showing 29,032.18 MB total disk space used which is correct..
    0
  • Infopro
    Sounds like you've got a lot of files not owned by the user on that account if I was to guess.
    This particular account has a few addon domains one that contains most of the 28GB and the files are stored in /home///

    In that account's cPanel, assuming using Paper Lantern, type in Disk Usage in top search tool and click the resulting link. Let that page load and it may give you some idea of where to look. If you already know, take a closer look at that account and see who owns the files in it.
    0
  • Remotech
    Sounds like you've got a lot of files not owned by the user on that account if I was to guess.

    I have checked and from what I can see all the files are all owned by the correct user..
    In that account's cPanel, assuming using Paper Lantern, type in Disk Usage in top search tool and click the resulting link. Let that page load and it may give you some idea of where to look. If you already know, take a closer look at that account and see who owns the files in it.

    That's what I used to get the correct total of 29078 MB but WHM is showing 57553 MB which is nearly double.. So WHM is not showing the correct quota numbers..
    0
  • Infopro
    This post may be of some use to search for all a specific user's files: Huge Other Usage in some accounts
    0
  • Remotech
    This post may be of some use to search for all a specific user's files: Huge Other Usage in some accounts

    Ok that was useful.. I ran the commands.. id username find / -uid UIDNUMBER > /root/username.output Looking at the output file I see that it seems the entire home directory is represented/replicated in /home/virtfs/.. Could this be the reason this account is showing nearly double the disk usage?
    0
  • cPanelMichael
    Looking at the output file I see that it seems the entire home directory is represented/replicated in /home/virtfs/.. Could this be the reason this account is showing nearly double the disk usage?

    Hello :) The data in /home/virtfs does not take up disk space because it's using BIND mounts to create a virtual link between two locations 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. This is documented at: VirtFS (Jailed Shell) - Documentation - cPanel Documentation Thank you.
    0
  • Remotech
    Hello :) The data in /home/virtfs does not take up disk space because it's using BIND mounts to create a virtual link between two locations 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. This is documented at:
    0
  • cPanelMichael
    Are you sure no other file paths outside of the account's home directory are listed in the output of the command you ran? Thank you.
    0
  • Remotech
    Are you sure no other file paths outside of the account's home directory are listed in the output of the command you ran? Thank you.

    If I ignore /home/virtfs/* and /home//* I am left with some /tmp and /var/tmp files, some /proc entries and some /etc files.. Nothing of any real size..
    0
  • cPanelMichael
    This particular account has a few addon domains one that contains most of the 28GB and the files are stored in /home///

    Are you sure these files are owned by the account username and not by "root" or "nobody"? Thank you.
    0
  • Remotech
    Y
    Are you sure these files are owned by the account username and not by "root" or "nobody"? Thank you.

    Yes, I am sure.. And currently WHM is reporting much MORE (nearly double) data being used than there actually is for this account so something odd is happening.. All other accounts appear to be accurate..
    0
  • Infopro
    Please feel free to open a ticket directly to cPanel Technical Support if you like.
    0
  • Remotech
    Please feel free to open a ticket directly to cPanel Technical Support if you like.

    Thanks, I will do..
    0
  • Infopro
    Thanks, I will do..

    Please post the ticket ID here of you do. Thanks, and good luck!
    0

Please sign in to leave a comment.