[LU-10865] quota reintegration reported version and index count errors. Created: 30/Mar/18 Updated: 01/Jul/22 Resolved: 06/Mar/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
Lustre master branch |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
One of Customers reported following errors when force quota reintegrations: Mar 29 01:30:20 xssds31 kernel: Lustre: 2007:0:(qsd_reint.c:246:qsd_reint_index()) lustre3-MDT0000: index version for fid [0x200000005:0x1016:0x0] is 0, but index isn't empty (1) This is easy to reproduce: 1.format Lustre and mount MDT/MGS, OST. 2.lctl conf_param lustre.quota.mdt=ug 3.lctl set_param osd-ldiskfs.*.quota_slave.force_reint=1
Then you will see some dmesg like above. Problem is osd-ldiskfs IAM will try to init one zero entry initially, so for newly created slave index file, there will be at least one entry for it, let's bump version properly to make reintegration check happy. |
| Comments |
| Comment by Gerrit Updater [ 30/Mar/18 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/31834 |
| Comment by Peter Jones [ 30/Mar/18 ] |
|
Thanks wangshilong |