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.

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:
    16
    # /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:
    160
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page