The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Seriously wrong diskspace count!!

Discussion in 'General Discussion' started by Ganga, Oct 23, 2003.

  1. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Hello guys,

    Please may I have your help on this issue, which has been around for a while.

    Looging obn Cpanel (and I stress that all my accounts do that!!) the disk space used/left count ignores mySQL space completely when it shouldn't.

    That should be part of the quota and it isn't at present.

    Also, all accounts seem to report an excessive amount of space used.

    For example, my main account (whose user name is "hosting") reveals that a home backup (untarred) is only less than 10 Mb, yet Cpanel shows disk usage is 40 Mb!!!

    A du -hSc command in SSH on the directory /home/hosting reveals that the space taken on the server is only 17 Megabyte, not 40 Mb!!

    However, a full backup untarred shows that a directory called "logs" is nearly 60 Mb in size!!

    In SSH, I can't find that directory "logs" anywhere I look...

    I have run the /scripts/quotas and /scripts/fixcommonproblems to no avail.

    Is it possible at all, I wonder, to have accurate disk usage information from CPanel?

    The customer may easily make a comparison between what their home directory is and compare it with the value expressed in Cpanel and complain (as they already have)..

    Thanks for any advice

    Fabio
     
  2. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Doesn't anybody know an answer for this issue please?
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
  4. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the reply.

    No, I'm not backing up on the same disk.
     
  5. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    also, I don't seem to see any weird entries in my /etc/passwd, as you can see pasted here:

    The account which seems to be affected the most is "hosting" as far as I can see I don't see any crossed IDs...

    Many thanks for any further help offered.
     
  6. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    It's not the /etc/passwd file that you're supposed to be looking at. The passwd file is just so that you can find the userid. Since it's "hosting" that you want to find and its user id is 32005, do:

    find -user 32005

    Then see if there are any files listed that shouldn't be.
     
  7. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Many many thanks to casey for helping me to fix the problem, sorry I shoud l have told you before!!

    Now, I have a second dedicated server with Cpanel WHM 8.5.4 and this same problem occurred again, and... surprise! surprise! still with ID 32005 being involved.

    Here's therefore a question:

    How can I create a fake account (which will be obviously have a different ID such as 32xxx) and then swap this ID with the one of account having ID 32005?

    This way, I would at least be sure that it won't be a customer being affected but simply a fake account.

    Thank you!

    Ganga
     
  8. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    any ideas, please, anybody?

    Thanks!
     
Loading...

Share This Page