[lustre-discuss] quota only in- but not decreasing after upgrading to Lustre 2.5.3

Torsten Harenberg torsten.harenberg at cern.ch
Tue Jul 28 00:44:13 PDT 2015


a further observation:

a user deleted a ~100MB file:

before.

[root at wnfg001 lustre]# lfs quota -u sandhoff /lustre
Disk quotas for user sandhoff (uid 11206):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit
  grace
        /lustre 811480188  1811480200 2811480200       -   61077       0
      0       -

after:

[root at wnfg001 lustre]# lfs quota -u sandhoff /lustre
Disk quotas for user sandhoff (uid 11206):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit
  grace
        /lustre 811480188  1811480200 2811480200       -   61076       0
      0       -
[root at wnfg001 lustre]#

so #files decreased by 1, but not the #kbytes.

Furthermore, the lfs quota command is pretty slow:

[root at wnfg001 lustre]# time lfs quota -u sandhoff /lustre
Disk quotas for user sandhoff (uid 11206):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit
  grace
        /lustre 811480188  1811480200 2811480200       -   61076       0
      0       -

real    0m2.441s
user    0m0.001s
sys     0m0.004s
[root at wnfg001 lustre]#

although the system is not overloaded.

Couldn't find anything useful in dmesg:

[root at lustre2 ~]# dmesg | grep quota
VFS: Disk quotas dquot_6.5.2
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. quota=on.
Opts:
[root at lustre2 ~]#

[root at lustre3 ~]# dmesg | grep quota
VFS: Disk quotas dquot_6.5.2
LDISKFS-fs (dm-6): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-4): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-7): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-9): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-13): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-12): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-10): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-6): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-4): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-7): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-9): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-13): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-12): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-10): mounted filesystem with ordered data mode. quota=on.
Opts:
[root at lustre3 ~]#

[root at lustre4 ~]# dmesg | grep quota
VFS: Disk quotas dquot_6.5.2
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-8): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-13): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-3): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-14): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-2): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-8): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-13): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-3): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-14): mounted filesystem with ordered data mode. quota=on.
Opts:
LDISKFS-fs (dm-2): mounted filesystem with ordered data mode. quota=on.
Opts:
[root at lustre4 ~]#

Thanks for any hint!

Best regards

  Torsten

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     Torsten.Harenberg at cern.ch          <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal           @CERN: Bat. 1-1-049                <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>


More information about the lustre-discuss mailing list