[LU-14210] DNE3: "lfs migrate -m" should allow-non-recursive migration Created: 14/Dec/20  Updated: 05/Oct/21  Resolved: 05/Oct/21

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: dne3

Issue Links:
Duplicate
duplicates LU-14975 DNE3: directory migration in non-recu... Resolved
Related
is related to LU-14366 "lfs mkdir" on existing directory ret... Resolved
is related to LU-13076 DNE3: lfs migrate -m should allow -1 ... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

It would be useful, and probably more intuitive, if "lfs migrate -m" only migrated the specified directory and required a "-r" option to recursively migrate the subdirectory tree. Alternately, "lfs migrate -d -m" could be used to migrate only the specified directory.



 Comments   
Comment by Andreas Dilger [ 24/Feb/21 ]

If I understand correctly, "lfs setsirstripe" on an existing directory (in 2.14) will migrate the directory entries of that directory only, which is what I think is needed here. However, it seems confusing that this is not possible with "lfs migrate"?

Comment by Lai Siyao [ 24/Feb/21 ]

I'm wondering when will user want to do this with "lfs migrate", and instead of allowing "lfs migrate" to migrate dirent only, it makes more sense to allow "lfs setdirstripe" to restripe an existing directory to specific MDTs (for splitting only, and the target MDTs should contain all the MDTs used by current stripes).

Comment by Andreas Dilger [ 05/Oct/21 ]

Duplicates LU-14975, which already has a patch.

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