Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I set quotas on my file systems?

Discussion in 'General Discussion' started by BianchiDude, Oct 23, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    # /scripts/fixquotas
    Installing Default Quota Databases...../aquota.user..../quota.user..../backup/aquota.user..../backup/quota.user..../boot/aquota.user..../boot/quota.user..../tmp/aquota.user..../tmp/quota.user.....Done
    Quotas are now on
    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
    Note: call resetquota with --useplanquotas to reset all quotas to plan defaults
    No filesystems with quota detected.
    Resetting quota for browserl to 5000 Meg....Done
     
  2. HostMerit

    HostMerit Well-Known Member

    Joined:
    Oct 24, 2004
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New Jersey, USA
    cPanel Access Level:
    DataCenter Provider
    Run /scripts/initquotas, then /scripts/fixquotas.

    That should fix it - If not, you may not have the correct flags set.

    I would suggest your data center do the below (Wouldnt suggest you doing something like this early.)

    Edit /etc/fstab

    On all filesystems you want usrquotas on, (/home, / (root) check for the line with /home..

    LABEL=/home /home ext2 defaults,usrquota

    Make sure if its just defaults, make it like the above, defaults,usrquota - Then save /etc/fstab - And restart. Then do /scripts/initquotas , /scripts/fixquotas again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,654
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    This seemed to work for me:

    Reboot your system and then run
    quotacheck -avugm
    quotaon -avugIt

    Then reboot again and run:

    quotacheck -avugm
    quotaon -avugIt should work then.

    then in WHM run: Initial Quota Setup
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice