[LU-14211] DNE3: mechanism to interrupt and resume migration Created: 14/Dec/20 Updated: 04/Jul/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | dne3 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
It should be possible to cleanly interrupt DNE directory migration (e.g. at the end of the current directory) for a long-running recursive directory migration. It would make sense to restructure recursive directory migration as a series of single directory migrations now that this is possible (
|
| Comments |
| Comment by Andreas Dilger [ 05/Apr/22 ] |
|
The message "migration was interrupted, run 'lfs migrate -m %d -c %d -H %s ...' to finish migration" should also be removed. If the MDS knows the migration options needed to finish the migration of that directory, then it should ignore what the user asked and finish the migration of that directory as originally started. Then, if the user parameters are incompatible with the new directory layout, an second migration should be done on the directory. Running two directory migrations is still faster than having the user try to figure out the right "lfs migrate -m" parameters (if they even look at the MDS console log to figure this out), and then run both migrations manually. |
| Comment by Andreas Dilger [ 04/Jul/22 ] |
|
In addition to commands to stop and resume individual directory migrations, we need to be able to find partially-migrated directories. |