Re: Quota help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On July 2, 2004 03:33 pm, Eucke Warren wrote:
> ----- Original Message -----
> From: "Pete Nesbitt" <pete@xxxxxxxxx>
> To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
> Sent: Friday, July 02, 2004 3:10 PM
> Subject: Re: Quota help
>
> > Hi Eucke,
> > I think you need to be using aquota.user & aquota.group (depending on
> > what verson of RH your using).
> >
> > Also, just to be sure, you did "remount" the quota'd fs's.
> > 'mount -o remount /'
> > then (with aquota.* in place), run
> > 'quotacheck /'
> >
> > Hope that helps.
> > --
> > Pete Nesbitt, rhce
>
> No luck Pete.  With the aquota* files added at the / directory and even
> with a reboot the quota file is not being found. Note the error
>
> [root@euckevmrh /]# quotaon -av
> quotaon: Cannot find quota file on / [/dev/sda2] to turn quotas on/off.
> quotaon: Cannot find quota file on / [/dev/sda2] to turn quotas on/off.
>
> I get the impression that the quota module is looking for the quota* files
> in a location other than / even though / has a direct mount relation to
> /dev/sda2.  In the past this was easy as I had a separate partition for
> /var and /home.  I got tired of having to adjust partition sizes and so
> chose just on massive partition.  Any other suggestions...this is really
> puzzling me (like that all that hard....)
>
> Thanks!
>
>
> -Eucke


I just tried it on my system, and it was a little different.

Here is what i used:
# touch /aquota.user
# quotacheck -m /
# edquota pete

the main thing is the -m, to force updating of /

You need quota.* for  quota ver 1 and aquota.* for quota ver 2.

What does 'cat /etc/mtab' look like?
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux