[LU-13703] fix lfs_migrate to work with PFL arguments Created: 22/Jun/20  Updated: 14/Feb/23  Resolved: 03/Feb/23

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

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

Issue Links:
Related
is related to LU-11510 preserve PFL/FLR/DoM layout with lfs_... Resolved
is related to LU-8235 Add pool awareness to lfs_migrate Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Using the lfs_migrate script with PFL arguments that contain "--stripe-count" or "--stripe-size" (which is very likely) will result in "lfs_migrate" parsing the last incidence of those values as the global stripe count/size and not work properly if different values are specified for different components.

Instead, if a PFL layout is specified on the command-line (even if migrating a file to a PFL layout) is not necessarily the most optimal solution, it should be handled properly.



 Comments   
Comment by Gerrit Updater [ 22/Jun/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39145
Subject: LU-13703 utils: fix lfs_migrate with PFL arguments
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e7f8412347389e8bf131cdf451a6e31c2b71b226

Comment by Gerrit Updater [ 03/Feb/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/39145/
Subject: LU-13703 utils: fix lfs_migrate with PFL arguments
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 28597c233c980f53732ab7628c2ec38efbff5364

Comment by Peter Jones [ 03/Feb/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:03:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.