Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 33
  1. #1
    Member plague's Avatar
    Join Date
    Sep 2006
    Location
    Brasil
    Posts
    41

    Question disk usage wrong?

    Hello guys

    I have some questions in here..
    My cpanel is showing my disk space usage wrong. In some pages in this forum, I see that script diskusage.cgi uses the du -b command.
    If I edit it to use du -h it will solve my issue?
    And how can I do this?

    Well, any help will be appreciated.

    thank you

    PS: the count of total disk usage is about 3 or 5MB more than real space used.

  2. #2
    Member
    Join Date
    Mar 2002
    Posts
    295

    Default

    disk pace usage is way off in more ways than that

    It doesnt count SQL storage
    It doesnt count lot sof usage
    I have a photogallery that uses 250 mb of space and had a forum and some more contant and cpanel reports the disk usage as 30 mb

  3. #3
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    Try running script


    /scripts/fixquota

  4. #4
    Member plague's Avatar
    Join Date
    Sep 2006
    Location
    Brasil
    Posts
    41

    Default

    thanks for the replies, but...
    fixquotas didn't work. And adding the SQL usage with the disk space that the disk usage viewer shows, the usage doesn't match too.

    Somebody knows how to fix this error? Or where can I find the config of the Disk Usage Viewer.

    Thanks for all ^^'

  5. #5
    Member plague's Avatar
    Join Date
    Sep 2006
    Location
    Brasil
    Posts
    41

    Default

    Any suggestions?

  6. #6
    Member
    Join Date
    Dec 2004
    Location
    The Netherlands
    Posts
    40

    Default

    Quote Originally Posted by plague View Post
    Any suggestions?
    same problem here, i am running CentOS 4.4 (64 bit version)
    And my quotas in CPanel are right, but nut in the Diks Usage Viewer!!!!
    CPanel please help...

  7. #7
    Member
    Join Date
    Jul 2004
    Posts
    182

    Default

    I am also getting discrepancy in the 'Disk Usage Viewer' only. Any progress on this, ANYONE?

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Default

    Did you guys try toggling a 0 to 1 in cpanel.config?

    disablequotacache=0 to disablequotacache=1 in /var/cpanel/cpanel.config

  9. #9
    Member
    Join Date
    May 2006
    Posts
    40

    Default

    Quote Originally Posted by edwardycho View Post
    Did you guys try toggling a 0 to 1 in cpanel.config?

    disablequotacache=0 to disablequotacache=1 in /var/cpanel/cpanel.config
    Ive got the same problem.

    Ive tried:
    fixquotas - no changes
    fixeverything - disk usage was shown Zero.
    fixquotas - again - the disk usage is shown as before (wrong)
    Tried disablequotacache=0 and gave 12 hours - no change
    even tried upcp --force - nothing

    Ive looked in forums - find one tutorial (about changing fstab...) whitch is not good for me.

    Please cPanel solve this issue:

    WHM 10.8.0 cPanel 10.9.0-S119
    SuSE 10.0 i686 - WHM X v3.1.0

  10. #10
    Registered User
    Join Date
    Jan 2007
    Posts
    3

    Default Linux Administrator

    Quote Originally Posted by ahostli View Post
    Ive got the same problem.

    Ive tried:
    fixquotas - no changes
    fixeverything - disk usage was shown Zero.
    fixquotas - again - the disk usage is shown as before (wrong)
    Tried disablequotacache=0 and gave 12 hours - no change
    even tried upcp --force - nothing

    Ive looked in forums - find one tutorial (about changing fstab...) whitch is not good for me.

    Please cPanel solve this issue:

    WHM 10.8.0 cPanel 10.9.0-S119
    SuSE 10.0 i686 - WHM X v3.1.0
    Don't rely on cpanel scripts alone to find disk usage, it is reported often as buggy . Use the command du -hs inside a script or console.ie du -hs /home/username/ .This will solve the problem .
    Last edited by chirpy; 01-27-2007 at 05:17 AM.

  11. #11
    Registered User
    Join Date
    Jan 2007
    Posts
    3

    Default

    Quote Originally Posted by plague View Post
    Hello guys

    I have some questions in here..
    My cpanel is showing my disk space usage wrong. In some pages in this forum, I see that script diskusage.cgi uses the du -b command.
    If I edit it to use du -h it will solve my issue?
    And how can I do this?

    Well, any help will be appreciated.

    thank you

    PS: the count of total disk usage is about 3 or 5MB more than real space used.
    use du -hs
    Last edited by chirpy; 01-27-2007 at 05:18 AM.

  12. #12
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Look at this thread, it may be what you need if you are not running phpsuexec

  13. #13
    Member
    Join Date
    May 2006
    Posts
    40

    Default

    Quote Originally Posted by jayh38 View Post
    Look at this thread, it may be what you need if you are not running phpsuexec
    That is IT ! Thank You

  14. #14
    Member
    Join Date
    Jul 2004
    Posts
    182

    Default

    ...And what if we are using phpsuexec, how then do we fix the Disk Space Usage problem?
    I thought this problem was supposed to have been resolved in previous cpanel releases???
    Can anyone shed some light? Thanks.

  15. #15
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Try running the script anyway... you may have nobody files if you recently changed over to phpsuexec???? it wouldnt hurt anything to try it ..
    Last edited by jayh38; 01-27-2007 at 03:13 PM.

Similar Threads & Tags
Similar threads

  1. Disk usage wrong
    By adamneal in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-15-2011, 03:26 AM
  2. disk usage wrong
    By WebGraf in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-17-2010, 03:49 AM
  3. Wrong Disk Usage
    By markerpower in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-12-2007, 02:17 AM
  4. Wrong disk usage by /var
    By ukagg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-25-2006, 04:57 PM
  5. Wrong Disk Usage?
    By Yaksha in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-31-2004, 09:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube