> 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 Bryan,

I tried msec level 3, and it didn't work. I have the same setup as you with the exception of the custom built kernel+XFS patches.
Yet, I still get the
<<
Disk quotas for user XXX (uid XXXX): none
>>

for "quota" and all zeros for "quota -v". Frustrating, to say the least. I don't know where to start to fix it.

I also had posted another thread with thess links:
http://marc.theaimsgroup.com/?l=linux-xfs&m=101697728801467&w=2
http://marc.theaimsgroup.com/?l=linux-xfs&m=101701227031491&w=2
http://marc.theaimsgroup.com/?l=linux-xfs&m=101701969005112&w=2
http://marc.theaimsgroup.com/?l=linux-xfs&m=101902864819725&w=2

Do you think they might have anything to do with quota not working on my system?

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!

Reply via email to