[LUDOC-259] LFSCK4: Review the LFSCK documentation Created: 24/Oct/14 Updated: 23/Mar/17 Resolved: 23/Mar/17 |
|
| Status: | Resolved |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Critical |
| Reporter: | Richard Henwood (Inactive) | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Rank (Obsolete): | 16279 | ||||||||||||||||
| Description |
|
Review the whole of the LFSCK documentation in the manual to ensure it is fit for purpose. |
| Comments |
| Comment by Andreas Dilger [ 20/Feb/15 ] |
|
After investigating |
| Comment by Richard Henwood (Inactive) [ 10/Dec/15 ] |
|
One patch landed to improve clarity: http://review.whamcloud.com/#/c/14692/ |
| Comment by Richard Henwood (Inactive) [ 10/Dec/15 ] |
|
Now working on a patch for 'index_in_idif'. |
| Comment by Richard Henwood (Inactive) [ 10/Dec/15 ] |
|
From discussion with Fan Yong:
|
| Comment by Andreas Dilger [ 10/Dec/15 ] |
|
The index_in_idif tunable was added for Lustre 2.7.0. It is used for improving the on-disk metadata information for ldiskfs OSTs after upgrade to increase the robustness of the LFSCK checking. OST filesystems formatted with Lustre 2.7.0 and later are already using the new on-disk metadata information and this tunable will not be present. For OST filesystems formatted with Lustre 2.4-2.6 that have not yet been upgraded, the index_in_idif tunable will be available to allow the one-time upgrade the new on-disk metadata information. Once this upgrade is completed, the system cannot easily be downgraded, so it should only be done after running the 2.7.0 or newer software for a long enough time that there is no chance of downgrade. To check if the filesystem still needs to be upgraded, use lctl get_param osd-ldiskfs.*.index_in_idif on a Lustre 2.7.0 or newer OSS node. If this prints osd-ldiskfs.$fsname-OSTxxxx=0 for any OST, then the OST still needs to be upgraded. In order to enable the improved on-disk metadata information, use lctl set_param osd-ldiskfs.*.index_in_idif=1 on all OSS nodes in the filesystem. On the next remount of the filesystem the index_in_idif tunable will no longer be present. |
| Comment by Andreas Dilger [ 11/Mar/17 ] |
|
It may be that some of the linked LUDOC tickets have already been addressed in the manual, in which case they can be closed. Otherwise, please submit patches to the manual to address the gaps. |
| Comment by Gerrit Updater [ 16/Mar/17 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/26028 |
| Comment by Gerrit Updater [ 23/Mar/17 ] |
|
Joseph Gmitter (joseph.gmitter@intel.com) merged in patch https://review.whamcloud.com/26028/ |
| Comment by nasf (Inactive) [ 23/Mar/17 ] |
|
The patch has been landed. |