[LUDOC-240] Include additional steps in "14.8.5. Restoring OST Configuration Files" for adding reformatted OST Created: 24/Apr/14 Updated: 21/Jun/17 |
|
| Status: | Open |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Karl Merritts (Inactive) | Assignee: | Lustre Manual Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 13704 |
| Description |
|
Recently there was a need to reformat a deactivated OST(on the MGS) and then bring it back into service. Instead of using writeconf, the procedure in the most recent manual was followed: a few additional steps were needed:
I'll clean up the recommendation changes when I get a chance. |
| Comments |
| Comment by Peggy Gazzola [ 24/Apr/14 ] |
|
A couple clarifications... The original dd from old mountdata to new did not include the conv=notrunc option (which was missing from earlier versions of the ops guide). This resulted in a truncated mountdata file, which caused an error on OST mount. So we invoked plan B to modify a copy from another OST as described above using xxd. The 'conv=notrunc' option in the more recent ops guide covers that issue. Presumably xxd could also be used to reset the flag field (from 0x62 to 0x2). But RE LAST_ID, on a newly reformatted OST (assuming the original was trashed), the LAST_ID isn't created until the initial OST mount. We did not attempt to 'mkdir /O/0' and create LAST_ID. Instead we went through the sequence described here, to mount, allow LAST_ID to be created, unmount, modify it. I think the important piece here is to correct LAST_ID prior to reactivating the OST (to prevent massive numbers of pre-creates). The doc section 'Fixing a Bad LAST_ID on an OST' doesn't clearly cover this case. |
| Comment by Karl Merritts (Inactive) [ 03/Jun/14 ] |
|
Jodi, -Karl |
| Comment by Jodi Levi (Inactive) [ 03/Jun/14 ] |
|
Karl, |
| Comment by VIKRAM BABASO JADHAV (Inactive) [ 21/Jun/17 ] |
|
Karl, Please give me the exact content to add in manual so I will create patch accordingly. |