LFSCK 3: MDT-MDT consistency verification
(LU-4788)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | nasf (Inactive) | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 15373 |
| Description |
|
If the MDT-object has a linkEA entry that back references a name entry under some parent directory, but such parent directory has no the claimed name entry. On the other hand, the MDT-object's linkEA entries count is not larger than the MDT-object's hard links count. Under such case, it is quite possible that the name entry is lost. Means the object is an orphan. Then the namespace LFSCK should add the name entry back to the namespace according to the linkEA entry. |
| Comments |
| Comment by nasf (Inactive) [ 20/Aug/14 ] |
|
Here is the patch: |
| Comment by nasf (Inactive) [ 20/Aug/14 ] |
|
If the missed name entry's parent MDT-object is also lost, then namespace LFSCK will re-create the lost parent MDT-object under the .lustre/lost+found/MDTxxx/ directory. Here is the patch: |
| Comment by nasf (Inactive) [ 17/Oct/14 ] |
|
The http://review.whamcloud.com/#/c/12249/ replaced http://review.whamcloud.com/#/c/11390/, and has been landed to master. |
| Comment by nasf (Inactive) [ 22/Oct/14 ] |
|
The patch http://review.whamcloud.com/#/c/11391/ has been landed to master. |
| Comment by nasf (Inactive) [ 22/Oct/14 ] |
|
All related patches have been landed to master. |