[LU-15868] LFSCK fix inconsistencies in directory migration failure Created: 18/May/22 Updated: 26/Jul/22 Resolved: 18/Jul/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lai Siyao | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
If directory migration fails in the middle, the system may become inconsistent, and some files may get missing. LFSCK should use the informations in directory layout to restore system to consistent mode. This will be done in two phases, in the first phase, LFSCK against such directories won't resolve all the inconsistencies, but it shouldn't cause additional issues, and after LFSCK the directories should be accessed, though some file may get lost, while in the second phase, LFSCK should use the informations in directory layout to restore system to consistent mode, and should avoid file missing. |
| Comments |
| Comment by Gerrit Updater [ 18/May/22 ] |
|
"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47381 |
| Comment by Gerrit Updater [ 18/Jul/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47381/ |
| Comment by Peter Jones [ 18/Jul/22 ] |
|
Landed for 2.16 |