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

deactive MDT might cause 2 dir stripes created in the same MDT.

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.10.0
    • Lustre 2.8.0, Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      Deactive one MDT might cause 2 stripes created in the same MDT. I will cook a patch.

      [root@testnode tests]# ../utils/lfs df
      UUID                   1K-blocks        Used   Available Use% Mounted on
      lustre-MDT0000_UUID       125368        1936      114072   2% /mnt/lustre[MDT:0]
      MDT0001             : inactive device
      lustre-MDT0002_UUID       125368        1720      114288   1% /mnt/lustre[MDT:2]
      lustre-MDT0003_UUID       125368        1724      114284   1% /mnt/lustre[MDT:3]
      lustre-OST0000_UUID       350360       13908      308980   4% /mnt/lustre[OST:0]
      lustre-OST0001_UUID       350360       13912      308976   4% /mnt/lustre[OST:1]
      
      filesystem summary:       700720       27820      617956   4% /mnt/lustre
      
      [root@testnode tests]# ../utils/lfs mkdir -i0 -c5 /mnt/lustre/test3
      [root@testnode tests]# ../utils/lfs getdirstripe /mnt/lustre/test3
      lmv_stripe_count: 4 lmv_stripe_offset: 0
      mdtidx		 FID[seq:oid:ver]
           0		 [0x200000400:0x6:0x0]		
           2		 [0x280000402:0x6:0x0]		
           3		 [0x2c0000403:0x6:0x0]		
           0		 [0x200000400:0x7:0x0]		
      

      Attachments

        Issue Links

          Activity

            [LU-8922] deactive MDT might cause 2 dir stripes created in the same MDT.
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24776/
            Subject: LU-8922 lod: check master stripes properly
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6dff2ce3ec91fe67c78bacdf00a708fdc97cb3d2

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24776/ Subject: LU-8922 lod: check master stripes properly Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6dff2ce3ec91fe67c78bacdf00a708fdc97cb3d2

            Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/25846/
            Subject: Revert "LU-8922 lod: check master stripes properly"
            Project: fs/lustre-release
            Branch: pfl
            Current Patch Set:
            Commit: a25b78873ad9b7f514a957e2c889cc10e65e6941

            gerrit Gerrit Updater added a comment - Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/25846/ Subject: Revert " LU-8922 lod: check master stripes properly" Project: fs/lustre-release Branch: pfl Current Patch Set: Commit: a25b78873ad9b7f514a957e2c889cc10e65e6941

            Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/25846
            Subject: Revert "LU-8922 lod: check master stripes properly"
            Project: fs/lustre-release
            Branch: pfl
            Current Patch Set: 1
            Commit: ac1eff246c388956d5ab60a1bdd3aba7c1a82646

            gerrit Gerrit Updater added a comment - Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/25846 Subject: Revert " LU-8922 lod: check master stripes properly" Project: fs/lustre-release Branch: pfl Current Patch Set: 1 Commit: ac1eff246c388956d5ab60a1bdd3aba7c1a82646

            wangdi (di.wang@intel.com) uploaded a new patch: https://review.whamcloud.com/24776
            Subject: LU-8922 lod: check master stripes properly
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e58886102e1228ae320e5325a62b364f03856f1b

            gerrit Gerrit Updater added a comment - wangdi (di.wang@intel.com) uploaded a new patch: https://review.whamcloud.com/24776 Subject: LU-8922 lod: check master stripes properly Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e58886102e1228ae320e5325a62b364f03856f1b
            di.wang Di Wang added a comment - - edited

            since the fix is reverted, let's re-open the ticket. It looks like test_50i needs to wait until all OSPs are deactivated before creating the striped directory.

            di.wang Di Wang added a comment - - edited since the fix is reverted, let's re-open the ticket. It looks like test_50i needs to wait until all OSPs are deactivated before creating the striped directory.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24750/
            Subject: Revert "LU-8922 lod: check master stripes properly"
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b78fb445555916e380b1661546c821df14098596

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24750/ Subject: Revert " LU-8922 lod: check master stripes properly" Project: fs/lustre-release Branch: master Current Patch Set: Commit: b78fb445555916e380b1661546c821df14098596

            James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/24750
            Subject: Revert "LU-8922 lod: check master stripes properly"
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5ba84c743885f4ae39c8ef20012576a09a5a503e

            gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/24750 Subject: Revert " LU-8922 lod: check master stripes properly" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5ba84c743885f4ae39c8ef20012576a09a5a503e
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24247/
            Subject: LU-8922 lod: check master stripes properly
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 1be03a1088d2aa583c2651435634ba336b48f939

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24247/ Subject: LU-8922 lod: check master stripes properly Project: fs/lustre-release Branch: master Current Patch Set: Commit: 1be03a1088d2aa583c2651435634ba336b48f939

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: