Guide to Index Corruption Recovery 19
BMC II BISYNC Quick Reference Guide
Figure 6
Sequence numbers not incrementing
1. Check the TOL Index File. Have the BMC check the integrity of the
TOL Index File. In this example, the execution of the following com-
mand will result with an error message which verifies that the TOL
Index File is corrupt. Enter the command (at the terminal):
>CHKIDXT (cr)
System response:
BAD TOLIDX FILE
2. To display the summary of TOLCRD files in the index, enter the follow-
ing command at the maintenance terminal:
>FILET.Z (cr)
System response:
VS 106: 2968 BLKS, 99 DA TO DLET, TOL SEQ :002747
VS 107: 1698 BLKS, 99 DA TO DLET, TOL SEQ :005715
VS 108: 1335 BLKS, 49 TO POLL, TOL SEQ :007413
VS 109: 1389 BLKS, 1389 TO POLL, TOL SEQ :008740
VS 110: 304 BLKS, 304 TO POLL, TOL SEQ :010129
VS 111: 632 BLKS, 632 TO POLL, TOL SEQ :010433
VS 112: 1085 BLKS, 1085 TO POLL, TOL SEQ :011065
END OF TOLIDX FILE
3. Check that the sum of the beginning sequence number for a version and
the blocks in that version correctly adds up to the next beginning
sequence number. In this example, the sequence number for version
number 109 is incorrect. Prior to (and after) version 109, the sequence
numbers are incrementing properly. The sequence number for version
109, 008740, has incorrectly been incremented by only 1327 blocks. It
should have incremented by 1335 blocks (sequence number 07413 for
version 108 plus 1335 blocks in version 108 equals sequence number
08748 for version 109). Eight blocks of data TO POLL appear to be
missing in version 108.
The effect is that the polling center won’t be able to retrieve data TO
POLL starting at version 109, because there will be duplicate sequences
in versions 108 and 109 (sequences 08740 through 08748). The actual
TO POLL data in version 108, sequence numbers 08740 through 08748
will be different from the TO POLL data in version 109, sequence num-
bers 08740 through 08748, but the BMC will detect the duplicated
sequence numbers and report, BAD TOLIDX FILE.
Corrupt TOLIDX File
VS 109 (TO POLL)
VS 110 (TO POLL)
VS 111 (TO POLL)
VS 112 (TO POLL)
VS 106 (TO DLET)
VS 107 (TO DLET)
VS 108 (TO POLL)
VS 106
VS 107
VS 108
VS 109
VS 110
VS 111
VS 112
TOLCRD Files
overlapping sequence numbers