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.

Disk usage warning

Discussion in 'General Discussion' started by nicklas, Mar 30, 2010.

  1. nicklas

    nicklas Well-Known Member

    Joined:
    Dec 22, 2005
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    2 problems I have and no idea why orhow to solve.


    -) For some odd reason accounts are able to go over their disk space limit, why is this and what can I do to stop this?

    -) When an account goes over the disk usages the warning emails stop to come in, why? it works fine till 100% but over allowance, no more emails.

    Hope some one can help me with this...
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    It sounds like your quotas are broken or misconfigured. You can try running /scripts/mkquotas and /scripts/fixquotas

    I would assume that when quotas are working and they aren't able to go over their limits by much they will probably notice once their email, FTP, and anything else that requires writing files fails. Maybe it would be good to add a daily warning saying the user was over 100% but I don't know, we use quotas and it's never really happened.

    Trying, let me know if it helps.
     
  3. nicklas

    nicklas Well-Known Member

    Joined:
    Dec 22, 2005
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks very much for your reply and suggestions, I have run this script twice and each time it comes with message Old group file not found, why?

    /scripts/fixquotas
    Installing Default Quota

    Databases...../aquota.user..../quota.user..../home/aquota.user..../home/quota.user..../tmp/aquota.user..../tmp/quota.u

    ser..../var/aquota.user..../var/quota.user..../usr/aquota.user..../usr/quota.user.....Done
    Linux Quota Support
    Quotas are now on
    Warning : Your system does not have a seperate filesystem for backups. This will cause performance degradation during

    the backup process.
    Updating Quota Files......
    quotacheck: Scanning /dev/sda1 [/] quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 1346 directories and 12008 files
    quotacheck: Scanning /dev/sda7 [/home] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 63936 directories and 517498 files
    quotacheck: Scanning /dev/sda3 [/var] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 1304 directories and 22422 files
    quotacheck: Scanning /dev/sda2 [/usr] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 13878 directories and 145040 files
    done


    quotacheck: Scanning /dev/sda1 [/] quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 1346 directories and 12008 files
    quotacheck: Scanning /dev/sda7 [/home] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 63936 directories and 517500 files
    quotacheck: Scanning /dev/sda3 [/var] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 1304 directories and 22422 files
    quotacheck: Scanning /dev/sda2 [/usr] done
    quotacheck: Old group file not found. Usage will not be substracted.
    quotacheck: Checked 13878 directories and 145040 files
    done

    ....Done
    Resetting quota for...................

    Now, all accounts are getting their quota from their package....

    You think everything is ok now?

    thanks,
    Nicklas
     
  4. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    Just to be sure run this:
    "/sbin/quotaon /"

    And then run a "/scripts/fixquotas" again just to make sure.

    Once you've done this you *should* be all set. It won't fix users already over their limits but it should prevent new users from going over their limits. If this doesn't resolve it I suggest opening a ticket at http://tickets.cpanel.net/
     
Loading...

Share This Page