[lustre-discuss] quota only in- but not decreasing after upgrading to Lustre 2.5.3
Martin Hecht
hecht at hlrs.de
Tue Jul 28 01:54:06 PDT 2015
Hi,
it might help to disable quota using tune2fs and re-enable it again on
the ext2 level on all devices, see LU-3861.
(BTW you don't need the e2fsprogs mentioned in the bug, there was an
official release last year in September).
You have to stop lustre for the tune2fs run and it takes some time,
because this triggers a quota check in the background (which does not
produce any output on the screen).
best regards,
Martin
On 07/28/2015 09:44 AM, Torsten Harenberg wrote:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2232 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20150728/dd18117e/attachment.bin>
More information about the lustre-discuss
mailing list