[LU-14896] 'lfs migrate -p <pool> <file>' should migrate file to pool with default layout arg Created: 30/Jul/21  Updated: 07/Feb/23  Resolved: 17/Sep/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0, Lustre 2.12.0, Lustre 2.13.0, Lustre 2.14.0
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Etienne Aujames Assignee: Etienne Aujames
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-14142 pool name is ignored by "lfs migrate"... Closed
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

"lfs migrate" with only "--pool/-p" argument does not migrate file to pool. It initiate a migration but with the layout of source file (llapi_layout_get_by_path).

When a pool is full and we want to initiate migrations , the behavior is the opposite than expected:

  • the migrations create volatiles on the source pool, so the space uses on the full pool increase temporally
  • it does not migrate files to the specified pool.


 Comments   
Comment by Etienne Aujames [ 02/Aug/21 ]

patch master: https://review.whamcloud.com/44465 ("LU-14896 utils: migrate file with only '--pool' option")

Comment by Gerrit Updater [ 17/Sep/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44465/
Subject: LU-14896 utils: migrate file with only '--pool' option
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0c60662b3a389790b19736a60063a1208e06bf70

Comment by Peter Jones [ 17/Sep/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 21/Dec/21 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45906
Subject: LU-14896 utils: migrate file with only '--pool' option
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: b90f37f90aae45ab67f01ee6c5c509ee29a0cfba

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