gikoreno wrote:
> I tried using the normal kernel (i.e. the non secure one), and it
> didn't make any difference :(
> The quota tool still doesn't work as expected. I'm still thinking it has
> to do with that "if" statement because I don't see what else it could be...
>
> Is there anyone running LM 8.2, all partitions XFS, msec level 5,
> kernel-secure-2.4.18.8, or the normal kernel 2.4.18, etc... that has
> quota running the way expected (as a user)?
(home machine)
[driver@beavis ~]$ quota -v
Disk quotas for user driver (uid 501):
Filesystem blocks quota limit grace files quota limit
grace
/dev/hde1 20190640 30000000 32000000 10352 0
0
[driver@beavis ~]$ uname -a
Linux beavis 2.4.18-beavis #1 Fri Jul 19 16:30:23 PDT 2002 i586 unknown
[driver@beavis ~]$ rpm -qa | grep quota
quota-3.01-0.5mdk
[driver@beavis ~]$ id
uid=501(driver) gid=501(driver) groups=501(driver),80(cdwriter)
[driver@beavis ~]$
Note, I am running a custom built kernel. 2.4.18 + XFS patches. (no
other changes)
Note: at work quota works on mandrake 8.1 without any problems,
including over NFS.
> Thanks
>
> gikoreno
>
>
>
> --- On Mon 07/29, Bryan Whitehead < [EMAIL PROTECTED] > wrote:
> From: Bryan Whitehead [mailto: [EMAIL PROTECTED]]
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Date: Mon, 29 Jul 2002 11:54:56 -0700
> Subject: Re: [expert] Quota on XFS problems
>
> > Don't use a secure kernel. The secure kernel does not give out quota
> > information to users.
> >
> > gikoreno wrote:
> > > Hello everyone,
> > >
> > > This is a repost from the newbie list, so sorry about that, I haven't
> >
> > > had a reply yet.
> > >
> > > I am running LM 8.2, and all my partitions are XFS.
> > > I am also running the system with msec level 5.
> > > The machine's Kernel is : kernel-secure-2.4.18.8
> > >
> > > Today I setup quotas for my users. I added the lines that were needed
> > in
> > > fstab, and the quotas are being enforced. For some reason it only
> > works
> > > certain times... "edquota" opens up an editor, in which I
> > make the
> > > changes and then save and quit. Is there a better way of doing this?
> > One
> > > that works every time? am I missing a step?
> > >
> > >
> > > My problem is that I would like my users to know what their current
> > > quota is, and for some reason typing quota doesn't work (the users
> > for
> > > which I tried this command do have quota enforced).
> > >
> > > If a user types "quota",
> > > they get something like:
> > > "Disk quotas for user XXX(uid XXXX): none"
> > >
> > > If they type "quota -v" they get something like:
> > > <<
> > > Disk quotas for user XXX (uid XXXX):
> > > Filesystem blocks quota limit grace files quota limit grace
> > > /dev/hda5 0 0 0 0 0 0
> > > /dev/hdc7 0 0 0 0 0 0
> > > >>
> > >
> > > Yet, if I check their quota as root, I get the accurate values.
> > > In other words, the quota command works as expected only if I am
> > running
> > > it as root.
> > >
> > > I am guessing it might be that quota can't read something that
> > contains
> > > the quota info when it is run as a user. What else could it be? What
> >
> > > should I try?
> > >
> > > I read the XFS info about the quota system on SGI's site (and in the
> >
> > > docs), but they all seem to imply that it should be possible to run
> > the
> > > quota command as a user and get the proper result. An edquota is
> > > supposed to work every time...
> > >
> > > My third and last question is that I would like the quota info to be
> >
> > > displayed for each user when they log on through ssh. How do I make
> > that
> > > happen?
> > >
> > > Thanks in advance!
> > >
> > > gikoreno
> > >
> > >
> > ------------------------------------------------------------------------
> > > *Join Excite! - http://www.excite.com
> > > *
> > > The most personalized portal on the Web!
> >
> >
> >
> > --
> > Bryan Whitehead
> > SysAdmin - JPL - Interferometry Systems and Technology
> > Phone: 818 354 2903
> > [EMAIL PROTECTED]
> >
> >
>
> ------------------------------------------------------------------------
> *Join Excite! - http://www.excite.com
> <http://www.excite.com/?PG=Email&SEC=Signature>*
> The most personalized portal on the Web!
--
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
[EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com