15
BMC II BISYNC Quick Reference Guide
Guide to Index Corruption Recovery
This procedure describes a methodology for recognizing and recovering
from index file corruption which may be experienced with the BMC II
BISYNC system. Index file corruption can occur for a variety of reasons.
This procedure neither catalogs nor explains all those reasons; rather, it
offers practical advice for identifying and correcting certain types of index
file corruption should it occur.
This procedure enumerates the following topics:
• Types of index file corruption addressed in this document.
• How to recognize index file corruption.
• How to recover from index file corruption.
For each type of index file corruption discussed, the procedure to recognize
it is first given, followed by the appropriate recovery procedure. This
follows the natural flow of troubleshooting. Commands and responses for
the BISYNC BMC are given.
This document will address the following types of index file corruption:
• Version number missing from index, but is on disk.
• Sequence numbers not incrementing properly.
• TOLIDX OPEN ERROR:03.
Version number missing from index, but is on disk
Version numbers within the index are always supposed to be sequential
and contiguous. That is, they should start from a low version number and
increment by one, without skipping any numbers (i.e., 07, 08, 09, 10, etc.).
If a version number is missing from the index, but the TOLCRD file is
actually on disk, then corruption has occurred.
Recognition
TOLCRD files missing from the index can be observed by displaying and
comparing listings of the TOLCRD files in the index to those in the
directory.
1. Display the summary of TOLCRD files in the index.
2. Display the closed TOLCRD files in the index.
3. Display the open TOLCRD file in the index.
4. Display the TOLCRD files in the directory.
Additionally check for error messages, such as BAD TOLIDX FILE, and/
or the presence of alarms.
Example
Version 82 is missing from the index but the TOLCRD file version 82 is
in fact on the disk. Therefore the index is corrupt and must be fixed, as
shown in the following figure.