Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!rice!sun-spots-request From: dupuy@cs.columbia.edu Newsgroups: comp.sys.sun Subject: Re: Restoring a corrupted tape Keywords: Miscellaneous Message-ID: <2909@brazos.Rice.edu> Date: 7 Nov 89 23:03:05 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 38 Approved: Sun-Spots@rice.edu X-Refs: Original: v8n173, Replies: v8n179 X-Sun-Spots-Digest: Volume 8, Issue 192, message 1 of 14 > We ran into a similar problem on an exabyte tapedrive while developing a > back-to-back multi-node dump program. What follows applies to an exabyte > tapedrive using a Perfect Byte Inc. kernel driver. It may provide some > clues as to how to recover your lost data as both exabyte and 1/4" SCSI > are both screaming tape drives. [long but detailed and useful description of how to recover a dump omitted] While the approach you describe is a remarkable technique, there is one gotcha that may catch anybody trying to restore a 1/4 inch cartridge, as opposed to an 8mm tape or 1/2 inch reel. On a 9-track 1/2 inch reel tape, information is recorded in 9 parallel tracks, from the start of the tape to the end, a byte (plus parity?) at a time. On an 8mm cartridge, the infomation is recorded in diagonal stripes, from the start of the tape to the end, each containing 1024 bytes plus framing and ECC. Before data is written, the tape is erased by an erase head located just before the write head. Thus, the damage to information is limited to the part of the tape recorded over, and your approach will work fine. On a 1/4 inch cartridge, on the other hand, information is recorded bit serial, on one of 4 or 9 (or more with QIC>24?) serpentine tracks, from the start of the tape to the end, then back to the start, and so forth. Before data is written on the first track, *only*, the entire width of the tape is erased by an erase head located just before the write head. What this means is that writing information on the first track will also destroy information on the second, third, etc. tracks. While you may be able to write over the LEOT with data, information further on in the tape will have been destroyed, if there was enough data to fill several tracks. inet: dupuy@cs.columbia.edu uucp: ...!rutgers!cs.columbia.edu!dupuy