The question involves HP LTO Ultrium-4 ( HP C7974A - 800/1.6TB) magnetic tape cartridge. The writing method is TAR.
A while ago, I made a terrible mistake by overwriting the beginning of the tape HP-LTO-4 with 1GB of data. I immediately pressed ^C then I realized the mistake.
The cartridge is almost full - 750GB. The file was intended to be written on file position 250*. I do have to mention that I do know the file position and block number (of each 10th file). The problem is that right now I can not wind to any other position of the tape.
When I want to go to the file nr. 20:
# mt fsf 20
I get:
/dev/nst0: Input/output error
and the status:
# mt status
SCSI 2 tape drive:
File number=1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x46 (LTO-4).
Soft error count since last status=0
General status bits on (9010000):
EOD ONLINE IM_REP_EN
Any advice about that? How do I solve that mistake by winding to the next 10 or 20 positions (assuming that I know the file and block number) and recover the data? Is there any way to write a file until the last known position without doing an EOD?
Thank you in advance.