FLR1.5: "lfs mirror" usability for Burst Buffer (LU-11022)

[LU-11124] Add "lfs getstripe -N" option to print mirror count Created: 06/Jul/18  Updated: 29/Oct/18  Resolved: 29/Oct/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.11.0
Fix Version/s: Lustre 2.12.0

Type: Technical task Priority: Minor
Reporter: Andreas Dilger Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: FLR2

Rank (Obsolete): 9223372036854775807

 Description   

There is no "lfs getstripe -N" option to print the number of mirrors on a file. This makes it difficult to determine the number of mirrors on a file during testing and normal usage.

For example, the following test is using "awk" to parse the "lfs getstripe" output, which is almost always not what we want.

https://review.whamcloud.com/#/c/32705/3/lustre/tests/sanity-lfsck.sh



 Comments   
Comment by Gerrit Updater [ 03/Oct/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33280
Subject: LU-11124 utils: add "lfs getstripe -N" option
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f795b73c436c90fbe1f7c9340756b70e3a9daaf0

Comment by Gerrit Updater [ 29/Oct/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33280/
Subject: LU-11124 utils: add "lfs getstripe -N" option
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 818340364d51ac9fb97151b0c244c4e2fd477715

Comment by Peter Jones [ 29/Oct/18 ]

Landed for 2.12

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