xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 422] New: quota - incorrect space/inode usage report

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 422] New: quota - incorrect space/inode usage reported
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sat, 17 Sep 2005 05:17:59 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=422

           Summary: quota - incorrect space/inode usage reported
           Product: Linux XFS
           Version: Current
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: lehel@xxxxxxxxxxxxxxx


Kernel is 2.6.13.1 with grsecurity patch:

$ repquota /var
...
user1 -- 18014398509479036    0       0       18446744073709551586     0     0
user2 -- 18014398509481896    0       0       0                        0     0
...

Only a few users have this problem, they either have space misreported, or 
both space and inode. There are some for which only the home dir exists, 
nothing else. Even if I move their files to another partition, the repquota 
output for /var remains the same.
The numbers look like 2^54 minus some small value (this value seemingly 
doesn't correspond to the real usage).

$ xfs_info /var
meta-data=/var                   isize=256    agcount=28, agsize=1048560 blks
         =                       sectsz=512  
data     =                       bsize=4096   blocks=28812560, imaxpct=25
         =                       sunit=16     swidth=32 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=14080, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=131072 blocks=0, rtextents=0

$ mount
...
/dev/md2 on /var type xfs (rw,usrquota,grpquota)
...

For these users I had to disable quota because otherwise they cannot do 
anything. Other problem is that the number of misreported users is slowly 
increasing. So when users are created everything is ok, and then at one 
moment space/inode usage turns into this huge value.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 422] New: quota - incorrect space/inode usage reported, bugzilla-daemon <=