[LU-8922] deactive MDT might cause 2 dir stripes created in the same MDT. Created: 08/Dec/16  Updated: 26/Apr/17  Resolved: 26/Apr/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0, Lustre 2.9.0
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Critical
Reporter: Di Wang Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-8985 conf-sanity test_50i: FAIL: wrong !=... Resolved
Severity: 3
Rank (Obsolete): 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]		


 Comments   
Comment by Gerrit Updater [ 08/Dec/16 ]

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

Comment by Gerrit Updater [ 01/Jan/17 ]

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

Comment by Peter Jones [ 03/Jan/17 ]

Landed for 2.10

Comment by Gerrit Updater [ 06/Jan/17 ]

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

Comment by Gerrit Updater [ 09/Jan/17 ]

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

Comment by Di Wang [ 09/Jan/17 ]

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.

Comment by Gerrit Updater [ 09/Jan/17 ]

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

Comment by Gerrit Updater [ 07/Mar/17 ]

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

Comment by Gerrit Updater [ 08/Mar/17 ]

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

Comment by Gerrit Updater [ 26/Apr/17 ]

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

Comment by Peter Jones [ 26/Apr/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:21:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.