[LU-13090] fix lfs_migrate -p for file with an existing pool Created: 19/Dec/19  Updated: 13/Feb/21  Resolved: 10/Jan/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0, Lustre 2.12.4
Fix Version/s: Lustre 2.14.0, Lustre 2.12.5

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

Issue Links:
Related
is related to LU-8207 Add auto-stripe option to lfs_migrate Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

It appears that "-A -p <name>" does not behave as expected... The -p is ignored. It would be good if -p works correctly, so that files can be migrated to a specific pool.

Example:

# lfs_migrate --dry-run -v -A -p HDD foo 
stripe_count=1,stripe_size=262144,pool=SSD
dry run, skipped


 Comments   
Comment by Gerrit Updater [ 19/Dec/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37067
Subject: LU-13090 utils: fix lfs_migrate -p for file with pool
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c13dd8f1fb17b886a1f5f187e325a25d99ccdd13

Comment by Gerrit Updater [ 10/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37067/
Subject: LU-13090 utils: fix lfs_migrate -p for file with pool
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 128137adfc539dd2dd92040c14a63ff27f969820

Comment by Peter Jones [ 10/Jan/20 ]

Landed for 2.14

Comment by Gerrit Updater [ 06/Mar/20 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37813
Subject: LU-13090 utils: fix lfs_migrate -p for file with pool
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: d40cf03a2149c6f7aa27d7011b3a614430b267a5

Comment by Gerrit Updater [ 06/Apr/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37813/
Subject: LU-13090 utils: fix lfs_migrate -p for file with pool
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: c7b3f4dce2ffda3934798946bf14bb2614319919

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