Hello,
I also had a horrible time... until I figured out that on the "stock" Linux
kernels seem to support only the "old quota" format (vfsold, file
quota.user) while the redhat kernels use the new quota format (vfsv0, file
aquota.user). This seems to work:

 1) add user and/or group quotas to /etc/fstab:

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

for user and user//group quotas respectively. Do this for all file systems
you want quotas.

2) reboot - you will get a quotaon error message...

3) create quota file(s):

    quotacheck -augv -F vfsold   (stock kernel)
or
    quotacheck -augv -F vfsv0    (redhat kernel)

You may need to add the "-m" flags as well (see the man pages).

4) turn quotas on (or reboot).
quotaon -a

5) check quotas and edit them...
repquotarep -a
edquota <user>

Hope this helps.

      - Henrik


----- Original Message -----
From: "Nicholas A. Martini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 7:33 PM
Subject: redhat 7.2 and quotas.


> has anyone else has a horrible time getting quotas to work with redhat
> 7.2? i use a custom kernel (with quotas enabled) and nothing works.
>
> ie:
>
> root@glric:~# quotaon /virtual/wp.com/
> quotaon: using /virtual/wp.com/quota.user on /dev/hdc1: No such file or
> directory
>
> root@glric:~# quotacheck -avu
> quotacheck: Scanning /dev/hdc1 [/virtual/wp.com] done
> quotacheck: Checked 208 directories and 2814 files
>
> root@glric:~# repquota -a
> *** Report for user quotas on device /dev/hdc1
> Block grace time: 00:20; Inode grace time: 00:20
>                         Block limits                File limits
> User            used    soft    hard  grace    used  soft  hard  grace
> ----------------------------------------------------------------------
> root      --    5756       0       0            484     0     0
> nobody    --   12832       0       0              4     0     0
> modulus   --    6892    6900    7000            266     0     0
> bill      --   22976       0       0            448     0     0
> zookeeper --    6676       0       0            217     0     0
> laura     --     440       0       0             64     0     0
> rdnzl     +-   10648    9500    9550   none     140     0     0
>
> and quotas are not enforced.
>
> i think i read somewhere i have to use an -ac kernel or redhats to have
> quotas work.
>
> any ideas?
>
> nk
>
>
>
>
>
>
>
> --
> Nicholas A. Martini              [Autonomous Drone #AD-2918787-REJ]
> Redhat Certified Engineer                        [#807101313203345]
> http://www.devaluate.com                       [[EMAIL PROTECTED]]
> [cynical:  a word used by the frightened to describe the realistic]
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to