Quota doesn't work

Discussion in 'Installation/Configuration' started by tom, Apr 10, 2006.

  1. tom

    tom Member

    Quota was installed according to:
    http://www.ispconfig.org/manual_installation.htm
    after a rebot I did the following tasks:

    I don't no what's wrong.

    tom
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/fstab?
    What's the output of
    Code:
    df -h
    ?
    What's the output of
    Code:
    ls -la /
    ?
     
  3. tom

    tom Member

    /etc/fstab
    df -h
    This question seem not complete. ls from where, which directory?

    By the way, what does the 0 0 beside defaults,usrquota,grpquota mean?

    tom
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I didn't ask for the output of
    Code:
    ls -la
    , but
    Code:
    ls -la [B][COLOR="Red"]/[/COLOR][/B]
     
  5. tom

    tom Member

    sorry that's my fault.

    there is the output:

    tom
     
  6. tom

    tom Member

    How do I get the quota working?

    tom
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    rm -f /quota.*
    touch /quota.user /quota.group
    chmod 600 /quota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug
     
  8. tom

    tom Member

    In
    http://www.ispconfig.org/manual_installation.htm
    you explain to do touch /home/aquota.group to put the aquota.group file in home.
    Do I need them both, /home/aquota.group and /quota.group?

    Where is the right place to create? I think it's / isn't it?
    I thought aquota and quote are ony different versions.

    PS:
    By the way, there are two mistakes in your example code:
    http://www.ispconfig.org/manual_installation.htm
    1. It should be touch /home/aquota.user and not touch home/aquota.user
    2. It should be chmod 600 /home/aquota.* and not chmod 600/home/aquota.*.
    _______________________________________missing blank space ^

    tom
     
    Last edited: Apr 11, 2006
  9. falko

    falko Super Moderator Howtoforge Staff

    You want to install quota on /, not /home, so
    Code:
    rm -f /quota.*
    touch /quota.user /quota.group
    chmod 600 /quota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug
    is correct.


    Thanks for the hint, I've fixed the errors. :)
     
  10. tom

    tom Member

    It's my turn to say many, many thanks to you for your great work and help for all humans:-)

    There are still questions.... about the quota. I've created a new thread.

    tom
     

Share This Page