[LU-5555] Inode usage quota are corrupted when running e2fsck Created: 28/Aug/14  Updated: 27/Nov/14  Resolved: 24/Oct/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bruno Travouillon (Inactive) Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL6 w/ patched kernel for Lustre
Lustre 2.4.3 + bull patches
e2fsprogs-1.42.9.wc1

Details about the FS:

  • 1 MDT
  • 32 OSSs
  • 480 OSTs
  • 150 000 000+ inodes
  • 3400+ users (uid/gid range: 2312-65534)

Epic/Theme: Quota
Severity: 3
Rank (Obsolete): 15491

 Description   

We have an issue with the inode usage quota on a Lustre 2.4 filesystem.

After a run of e2fsk on the MDT, the inode usage quota and block usage quota are 0 for each user on the MDT. We observe that new files are accounted. After a new run of e2fsck, all usage quota are reset to 0.

As a workaround, we have to disable/enable the quota feature on the device after each e2fsck run. In this case, the quota usage is correct.

It seems that e2fsck corrupts the quota inode.

We did not observe this issue on OSTs, but no correction has been made by e2fsck on these targets.

I believe there is a fix for this issue in e2fsprogs 1.42.10, merged in the master-lustre branch of git://git.whamcloud.com/tools/e2fsprogs.git (see commit ac7ea7b081c119a843ed6105d37461d84baaf544 )

Can you confirm?



 Comments   
Comment by Peter Jones [ 28/Aug/14 ]

Niu

Could you please advise on this issue?

Thanks

Peter

Comment by Niu Yawei (Inactive) [ 28/Aug/14 ]

Yes, I think it's the known issue fixed by the patch you mentioned.

Comment by Bruno Travouillon (Inactive) [ 29/Aug/14 ]

Thanks Niu. We will backport it to 1.42.9 and give a new try during our next maintenance window.

Comment by Bruno Travouillon (Inactive) [ 24/Oct/14 ]

The backport to 1.42.9 definitely solves the issue. Thanks.

Comment by Peter Jones [ 24/Oct/14 ]

Great - thanks!

Generated at Sat Feb 10 01:52:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.