[LU-11891] make --mdt-index usage consistent Created: 27/Jan/19  Updated: 10/Mar/20  Resolved: 03/Mar/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0, Lustre 2.13.0
Fix Version/s: Lustre 2.13.0, Lustre 2.12.5

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-7501 inconsistencies between "lfs find", "... Resolved
is related to LU-10856 running sanity now prints "warning: '... Resolved
is related to LU-12042 sanity test_103a: FAIL: LU-974 umask ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LU-10856 fixed most of the cases of "lfs getstripe: warning: '-M' deprecated, use '--mdt-index' or '-m' instead" but missed a few in sanity test_271d, test_271e, and test_271f. Fix those tests to use "--mdt-index"

Also, lfs has a few places were the usage of "--mdt-index" and "--mdt" is inconsistent. Fix those options to be consistently available across commands.



 Comments   
Comment by Gerrit Updater [ 27/Jan/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34116
Subject: LU-11891 utils: getstripe use --mdt-index consistently
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 957bf06630f853600162692a571387187e57c5e6

Comment by Gerrit Updater [ 03/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34116/
Subject: LU-11891 utils: getstripe use --mdt-index consistently
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 88d8f0f86bd4994e07aa12bd00cbc7ad3192205c

Comment by Peter Jones [ 03/Mar/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 25/Feb/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37728
Subject: LU-11891 utils: getstripe use --mdt-index consistently
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 70a8908f12ec4ac35f7a902ab4a06058a3a8b706

Comment by Gerrit Updater [ 10/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37728/
Subject: LU-11891 utils: getstripe use --mdt-index consistently
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 83c603a0e4a4c357cbce1bdb587c30ca5bf1298f

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