[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: |
|
||||||||
| 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 |
| Comment by Gerrit Updater [ 01/Jan/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24247/ |
| 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 |
| Comment by Gerrit Updater [ 09/Jan/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24750/ |
| 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 |
| Comment by Gerrit Updater [ 07/Mar/17 ] |
|
Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/25846 |
| Comment by Gerrit Updater [ 08/Mar/17 ] |
|
Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/25846/ |
| Comment by Gerrit Updater [ 26/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24776/ |
| Comment by Peter Jones [ 26/Apr/17 ] |
|
Landed for 2.10 |