All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zorz <zorz@iskon.hr>
To: Chris Mason <mason@suse.com>
Cc: ReiserFS-list <reiserfs-list@namesys.com>
Subject: Re: Quota support for UID >65534
Date: 17 Jul 2002 10:29:17 +0200	[thread overview]
Message-ID: <1026894558.1067.49.camel@max> (raw)
In-Reply-To: <1026822332.4952.523.camel@tiny>

On Tue, 2002-07-16 at 14:25, Chris Mason wrote:
> On Tue, 2002-07-16 at 04:14, Zeljko Brajdic wrote:
> > On Mon, 2002-07-15 at 13:09, Chris Mason wrote:
> > > On Mon, 2002-07-15 at 06:11, Zeljko Brajdic wrote:
> > > > Hello,
> > > > 
> > > > I've applied quota patches for vanilla kernel-2.4.18 found at
> > > > ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4/2.4.18/
> > > > Everything works perfectly except for checking quota with command `quota
> > > > -v username' if username have UID >65534. Interesting is that `repquota'
> > > > doesn't have that problem and showing.
> > > > 
> > > > This is output of `quota':
> > > > 
> > > > root@led 12:02 (/usr/src/linux) > quota -v bureq
> > > > quota: Error while getting quota from /dev/sda4 for 200000: Invalid argument
> > > > Disk quotas for user bureq (uid 200000): none
> > > 
> > > Which disk format are you using?  You can check this with debugreiserfs
> > > /dev/xxxxx
> > > 
> > root@led 13:12 (/usr/src/linux) > debugreiserfs /dev/sda4
> > 
> > <-------------debugreiserfs, 2002------------->
> > reiserfsprogs 3.x.1b
> > 
> > 
> > Filesystem state: consistency is not checked after last mounting
> > 
> > Reiserfs super block in block 16 on 0x804 of format 3.6 with standard journal
> 
> This means your reiserfs disk can support the high uids.
> 
> > 
> > 
> > We have found "error". :) In fs/dquot.c at line 2057 exists if
> > statement:
> > 
> >         if (id & ~0xFFFF)
> >                 goto out;
> > 
> > Is this feature or bug?! :) This have been found in vanilla kernel-2.4.18
> 
> This check is not in a quota patched kernel.  sys_quotactl isn't in
> fs/dquot.c with the quota patches applied.
> 
> Did you apply all of the patches in my quota directory?  I think so,
> since the kernel wouldn't compile otherwise ;-)
> 
Yes, i've applied: 50_quota-patch-2.4.15-1-2.4.16, dquot_deadlock.diff, 
kinoded-8.diff, nesting-10.diff,  reiserfs-quota-20.diff

> quota -v high_uid_user works fine for me, which version of the quota
> utils do you have installed?
> 
root@led 15:03 (~) > quota -V
Quota utilities version 3.06.
-- 
v            ,   v  v
Zeljko Brajdic - Zorz


  reply	other threads:[~2002-07-17  8:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15 10:11 Quota support for UID >65534 Zeljko Brajdic
2002-07-15 11:09 ` Chris Mason
2002-07-16  8:14   ` Zeljko Brajdic
2002-07-16 12:25     ` Chris Mason
2002-07-17  8:29       ` Zorz [this message]
2002-07-17 12:52     ` Philippe Gramoullé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1026894558.1067.49.camel@max \
    --to=zorz@iskon.hr \
    --cc=mason@suse.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.