Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Nov 2010
    Posts
    21

    Default cPanel and WHM showing 0 Disk Space

    My current server is showing 0 disk space usage for all accounts, even though some accounts are using in excess of 100MB. Does anyone know how I can fix this?

    I have tried using /scripts/fixquotas but that didnt work.
    When I click on the quota icon next to each account in WHM, I get the error:

    "No quotas are enabled on this system."
    Last edited by kshazad; 02-19-2011 at 10:57 AM.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    I have tried using /scripts/fixquotas but that didnt work.
    That comment means nothing changed, or was there some sort of error when you attempted to run it?

  3. #3
    Member
    Join Date
    Nov 2010
    Posts
    21

    Default Re: cPanel and WHM showing 0 Disk Space

    This is the output of the above command:

    ---------------------

    Quotas are now on
    Quotas will not be enabled on /backup to prevent performance degradation.
    Updating Quota Files......
    quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.


    quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.

    ....Done
    Reading package Standard
    Resetting quota for x1 to 0 M
    No filesystems with quota detected.
    Resetting quota for x2 to 0 M
    No filesystems with quota detected.
    Resetting quota for x3 to 0 M
    No filesystems with quota detected.
    Resetting quota for x4 to 0 M
    No filesystems with quota detected.
    Resetting quota for x5 to 0 M
    No filesystems with quota detected.
    Resetting quota for x6 to 0 M
    No filesystems with quota detected.
    Resetting quota for x6 to 0 M
    No filesystems with quota detected.
    Resetting quota for x7 to 0 M
    No filesystems with quota detected.
    Reading package Dedicated IP
    Resetting quota for x8 to 0 M
    No filesystems with quota detected.

    ---------------------

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    Try running Initial Quota Setup from WHM and post the output. Same result?
    WHM > Server Configuration > Initial Quota Setup

  5. #5
    Member
    Join Date
    Nov 2010
    Posts
    21

    Default Re: cPanel and WHM showing 0 Disk Space

    Yea, its exactly the same result.

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    What version of cPanel, and have you tried forcing an update?

  7. #7
    Member
    Join Date
    Nov 2010
    Posts
    21

    Default Re: cPanel and WHM showing 0 Disk Space

    My cPanel version is: 11.28.83 and I've just forced cPanel to update using /scripts/upcp -force and service cpanel restart

    But I still have the same problem, any ideas?

  8. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    I think your next stop should be a ticket to your host, or cPanel Support: http://go.cpanel.net/supportrequest

  9. #9
    Member
    Join Date
    Mar 2007
    Posts
    123

    Default Re: cPanel and WHM showing 0 Disk Space

    Could you post the contents of /etc/fstab ?

  10. #10
    Member
    Join Date
    Nov 2010
    Posts
    21

    Default Re: cPanel and WHM showing 0 Disk Space

    My datacentre were absolutely useless, they basically didn't have a clue...anyway I fixed the problem thanks to a thread in this forum. For those that have the same problem, I highly recommend you check out these two threads, they worked perfectly for me

    http://forums.cpanel.net/f5/tutorial...lem-42742.html
    Help with installing quota? [Archive] - HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

  11. #11
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    I'm curious what brought this problem on, though. Glad you got it sorted of course.

  12. #12
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: cPanel and WHM showing 0 Disk Space

    hi,

    I am also having the same issue. Disk Used is showing 0 MB. I did ran following, all are didn't worked

    # /scripts/resetquotas --useplanquotas
    # /scripts/resetquotas
    # /scripts/initquotas
    # /scripts/initquotas --force
    # /scripts/fixquotas
    # /scripts/fixquotas --force

    /scripts/initquotas it gives following output & i did tried in whm same result. disk space usage is still showing 0 MB
    Linux Quota Support
    Quotas are now on

    find below output of /etc/fstab
    GNU nano 1.2.4 File: /etc/fstab

    none /dev/pts devpts rw 0 0

  13. #13
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: cPanel and WHM showing 0 Disk Space

    Hi

    I also fixed this issue

    if the quota shows unlimited in WHM list account run /scripts/initquotas --force or Initial Quota Setup

    for disk space usage issue

    I have modified fstab last 2 digits 0 0 to 1 1 then
    quotacheck -acguvm
    quotaon -avug
    /scripts/fixquotas then reboot the server & it worked for me

    giving 5 rates to this thread

  14. #14
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel and WHM showing 0 Disk Space

    The problem we had was with all accounts on an additional HDD (/home2)

    The disk used would show 0 MB.

    When we would run the /scripts/fixquotas, we would get the error:
    Quotas will not be enabled on /home2 to prevent performance degradation.

    Thanks to this link, it was solved:
    Quotas will not be enabled on /home to prevent performance degradation. | cPanel Admins

    The solution:
    The backup was configured to /home2.
    We changed it to /home, and re-ran /scripts/fixquotas.

    Everything worked great and disk used is back to normal!

    We have reconfigured the backup to /home2

Similar Threads & Tags
Similar threads

  1. cPanel is showing wrong disk space usage
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-27-2011, 09:27 PM
  2. WHM showing Zero Disk Space on account creation
    By _xandih in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-13-2009, 09:26 AM
  3. New Installation - Disk space not showing
    By sinohosting in forum New User Questions
    Replies: 6
    Last Post: 01-26-2009, 10:58 AM
  4. No Disk space usage showing up
    By Slacker_au in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 11-09-2008, 04:49 PM
  5. disk space used is showing wrong
    By angel in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-08-2003, 07:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube