Guide to Index Corruption Recovery 21
BMC II BISYNC Quick Reference Guide
BAD TOLIDX FILE
3. Display the closed TOLCRD files in the index. Displaying the closed
TOLCRD files in the index shows that version 108 has been changed
from data TO POLL to data TO DLET. Enter the command (at the ter-
minal):
>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, 99 DA TO DLET, 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
If the index listing exceeds 26 files, it will be necessary to issue the
FILET.Z command to display the next group of 26 files, until the end of
the index file is reached.
4. Data center does a DEMAND POLL on the unpolled data in the corrupt
version. The data center should now be able to retrieve the previously
unpolled data from version 108 by executing a DEMAND POLL, start-
ing at sequence number 08699, for 49 blocks.
This starting sequence number for the demand polling is calculated by
using the original sequence number of version 108 (07413) and adding
the blocks in version 108 (1335) to arrive at the correct next sequence
number, 08748. From this sequence number, the 49 blocks of unpolled
data in version 108 are subtracted (08748 minus 49) to arrive at the
actual starting sequence number, 08699. This is where the data center
should start the demand poll.
5. Delete the temporary TOL index file. After the data center confirms
that they have successfully retrieved the previously unpolled 49 blocks
from the BMC, remove the temporary TOL index file. This doesn’t
remove the TOL data (the TOLCRD files), but it does remove the
TOLIDX file. The following command will remove the TOLIDX file,
but a new one will be built in a subsequent step (new TOLIDX file that
will be built contains the correct version numbers). Enter the command
(at the terminal):
>DELETE TOLIDX 1:255 (cr)
System response:
VERSION 02 DELETED
6. Create a new TOLIDX file starting with the first good sequence number
containing data TO POLL. The following command creates a new TOL
index, starting with version 109 as the first version having TO POLL
data. All subsequent versions numbers in the index (110, 111 and 112
in the example above) will still be data TO POLL, and will be included
in the new TOL index. The system should report, GOOD TOLIDX
FILE, indicating that the new index was properly created. Create a new
TOLIDX file starting with version 109 containing all TO POLL data.
Enter the command (at the terminal):
>GETIDX109.T (cr)
System response: