[Lustre-discuss] Can't set quota larger than 4TB

Niklas Edmundsson Niklas.Edmundsson at hpc2n.umu.se
Tue Oct 23 03:50:49 PDT 2007


Hi again :)

Lustre 1.6.2 on amd64, 2.6.18 kernel.

We seem to be unable to set lustre quotas larger than 4TB. Somewhere 
along the way the value seems to be truncated to 32bits. A quick gdb 
session of an lfs binary with debug info shows the quota struct being 
filled in correctly, so it seems to be something in the bowels of 
lustre somewhere...

And it's not just the display that's bogus, verified by hitting the 
quota when trying write to the filesystem.

Is anybody else seeing this? As long as you have a quota-enabled 
lustre filesystem it's trivial to verify.

# lfs setquota -u nikke 2000000 4294967295 80000 100000 /hpfs
# lfs quota -u nikke /hpfs
Disk quotas for user nikke (uid 2676):
      Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
           /hpfs       4  2000000 4294967295               1   80000  100000

# lfs setquota -u nikke 2000000 4294967296 80000 100000 /hpfs
# lfs quota -u nikke /hpfs
Disk quotas for user nikke (uid 2676):
      Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
           /hpfs       4  2000000       0               1   80000  100000

# lfs setquota -u nikke 2000000 4294967297 80000 100000 /hpfs
# lfs quota -u nikke /hpfs
Disk quotas for user nikke (uid 2676):
      Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
           /hpfs       4* 2000000       1               1   80000  100000

...


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se     |    nikke at hpc2n.umu.se
---------------------------------------------------------------------------
  "I used to tell the truth all the time when I was evil." - Anya
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the lustre-discuss mailing list