Linux – Problems reading IBM 3592 JB tape

linuxtape

I'm having problems reading a 3592 JB IBM (700GB) tape using a TS1140 (E07) drive. The tape was written using a TS1130 (E06) drive with compression up to 1TB as specified on the label of the tape. According to IBM's tape specifications webpage, the TS1140 drives should be backward compatible to read tapes written in TS1120 (E05) and TS1130 drives. However, when I attempt to read this tape it throws an I/O error and stalls at around 240mb. I have managed to get up to 8GB from the tape using dd with a block size of 256K, however this stalls as well.

Eg.

[user1@server-le1 ~]$ dd if=/dev/IBMtape10 of=/myoutputpath/File_1.dat bs=512k
dd: reading `/dev/IBMtape10': Input/output error
0+46011 records in
0+46011 records out
379301796 bytes (379 MB) copied, 833.756 s, 455 kB/s

Is anyone experienced with IBM tape drives able to help me resolve this issue?

The tape creator has said they are able to read this using their 1140 drives. So I'm thinking is this a drive setting that needs to be changed? Or is there something else?

Best Answer

Throwing a couple of ideas here. This might solve your issue or not at all, but I'd try to copy the contents using cat:

cat /dev/IBMtape10 > /myoutputpath/File_1.dat

This because cat will automatically adjust the blocksize to an optimum value according to the available I/O speed, without forcing a specified buffer size.

You might try also to operate directly on /dev/IBMtape10 via the mt command.

Related Question