[LU-14975] DNE3: directory migration in non-recursive mode Created: 31/Aug/21 Updated: 04/Oct/23 Resolved: 13/Dec/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Lai Siyao | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | migration_improvements | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | MDT rebalance v3 | ||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Directory migration will migrate target directory and all of its subdirectories to target MDTs recursively, this will cause huge inodes migration if the target directory is deep and contains lots of sub files. To make this more flexible, a "--non-recursive" option can be added to "lfs migrate -m" to only migrate target directory and the first level of sub files under it. |
| Comments |
| Comment by Andreas Dilger [ 31/Aug/21 ] |
|
This should use the option name "-d|--directory" to limit the migrate to the specified directory, to match "lfs getstripe" and "ls -ld". |
| Comment by Lai Siyao [ 31/Aug/21 ] |
|
The input is deformed, do you mean "--recursive"? Should it default to recursive mode? |
| Comment by Gerrit Updater [ 01/Sep/21 ] |
|
"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44802 |
| Comment by Gerrit Updater [ 13/Dec/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44802/ |
| Comment by Peter Jones [ 13/Dec/21 ] |
|
Landed for 2.15 |
| Comment by Gerrit Updater [ 07/Apr/22 ] |
|
"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47012 |
| Comment by Gerrit Updater [ 08/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47012/ |
| Comment by Gerrit Updater [ 03/Jul/23 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51534 |