Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10865

quota reintegration reported version and index count errors.

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • Lustre master branch
      osd-ldiskfs backend.
    • 3
    • 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. 

      Attachments

        Issue Links

          Activity

            [LU-10865] quota reintegration reported version and index count errors.
            pjones Peter Jones added a comment -

            Thanks wangshilong

            pjones Peter Jones added a comment - Thanks wangshilong

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/31834
            Subject: LU-10865 osd-ldiskfs: bump quota index version initially
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8b408368b679293b5bcde3854be356f7cc8c8ea9

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/31834 Subject: LU-10865 osd-ldiskfs: bump quota index version initially Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8b408368b679293b5bcde3854be356f7cc8c8ea9

            People

              wshilong Wang Shilong (Inactive)
              wangshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: