[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: |
|
||||||||||||||||||||
| 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 |