Menu

Quota and Red Hat 8.0?

Jeff
2002-12-21
2003-01-01
  • Jeff

    Jeff - 2002-12-21

    Does quota work in Red Hat 8?

    quota -V
    Quota utilities version 3.06.
    Compiled with RPC
    Bugs to mvw@planets.elm.net, jack@suse.cz

    I've got my /etc/fstab entry:

    LABEL=/home  /home  ext3  defaults,usrquota  1 2

    I have my quota file [ created via quotacheck -avu ]

    -rw-------    1 root     root         7168 Dec 20 18:49 aquota.user

    I have quotas turned on:

    quotaon -avu
    /dev/hda2 [/home]: user quotas turned on

    and I've set hard and soft block quotas for user "zero":

    repquota -a
    *** Report for user quotas on device /dev/hda2
    Block grace time: 00:00; Inode grace time: 00:00
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    root      --      44       0       0             18     0     0      
    mysql     --     124       0       0             23     0     0      
    zero      +-    4328    1024    1024   none      22     0     0      

    But that doesn't stop "zero" from exceding his quota...

    I've tried this with 3 different kernels [ 2.4.18-14; 2.4.18-19.8.0, and 2.4.20-ac2 ] all with quota support compiled in.

    What do I need to do to make this work?

    Thanks.

     
    • Manuel Carreira

      Manuel Carreira - 2002-12-31

      you must do:
      $quotacheck -avucm

      The letter "c" is important. It creates aquota.user and aquota.group.

      Do it! It works!

       
    • Jeff

      Jeff - 2002-12-31

      Ok, so now quotas work in the shell, but my user can still exceed his quota via ftp.

      I'm using pure-ftpd right now, but will change if quotas work with a different ftp server.

       
      • Manuel Carreira

        Manuel Carreira - 2003-01-01

        I think you must search the answer in the pure-ftpd documentation.
        I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
        I searched in pure-ftpd site and if you try to read in this page:
        http://pureftpd.org/README
        and find the word "quota" maybe you have the answer...

         
      • Manuel Carreira

        Manuel Carreira - 2003-01-01

        I think you must search the answer in the pure-ftpd documentation.
        I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
        I searched in pure-ftpd site and if you try to read in this page:
        http://pureftpd.org/README
        and find the word "quota" maybe you have the answer...

         

Log in to post a comment.

MongoDB Logo MongoDB