Opened 2 weeks ago

Closed 32 hours ago

#428 closed defect (fixed)

tape_archive's reconstruct operation can build an incorrect table and make data unreadable

Reported by: Eric Swenson Owned by: Eric Swenson
Priority: minor Milestone: MR12.9
Component: Standard Library Version: MR12.5
Keywords: Cc:

Description

The reconstruct operation of tape archive rebuilds an online table from the files on a volume set, for use when no table copy on the tape can be loaded with load table. The table it builds is wrong in several ways, and one of them can destroy data on the tape.

On a tape written by tape\_archive with 55 components, of which ten are longer than two pages:

ta reconstruct foo tatest
ta x foo
ta go foo
Mounting volume "tatest" with no write ring
Mounted ANSI volume "TATEST" (recorded at 800 BPI), on device tapa_04
tape_archive: End of information reached. Unexpected error while processing >udd>...>multics_unsqueeze.pl1
tape_archive: End of information reached. multics_unsqueeze.pl1 could not be extracted .
   ... (the same for the other nine components longer than two pages) ...
tape_archive: Invalid I/O operation. Unexpected error while processing tape copy of online table
tape_archive: Invalid I/O operation.

ta load_table of the same tape, followed by the x and go operations, extracts all 55 components without error.

Change History (2)

comment:2 by Eric Swenson, 32 hours ago

Resolution: → fixed
Status: new → closed

Fixed with MR12.9-1090.

Note: See TracTickets for help on using tickets.