xfs
[Top] [All Lists]

quota problem - incorrect space/inode usage

To: linux-xfs@xxxxxxxxxxx
Subject: quota problem - incorrect space/inode usage
From: Lehel Bernadt <lehel@xxxxxxxxxxxxxxx>
Date: Thu, 15 Sep 2005 14:19:11 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.2
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.

I would appreciate any help.

Thanks,
Lehel


<Prev in Thread] Current Thread [Next in Thread>
  • quota problem - incorrect space/inode usage, Lehel Bernadt <=