I've written about 1.5TB of files onto a tape with
tar -b 512 -clpMvf /dev/nst0 /path_to_stuff
Everything worked well, no error messages. Now if I try to read it back from tape with
tar -b 512 -xlpMvf /dev/nst0 /path_to_stuff
I'm getting about 10-12 read errors:
path_to_stuff/file.ext
tar: /dev/nst0: Cannot read: Input/output error
If I do a byte-by-byte comparison of the original file and the restored one, it's identical, so everything was read correctly. If I re-run, the read errors occur on different files.
The tape drive is a SAS-connected LTO-7 by IBM. Firmware was recently updated, didn't change anything.
This is what tapeinfo -f is giving me:
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULTRIUM-HH7 '
Revision: 'G9Q1'
Attached Changer API: No
SerialNumber: '1132T125132'
MinBlock: 1
MaxBlock: 8388608
SCSI ID: 1
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x78
Density Code: 0x5c
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0xff
DeCompType: 0xff
BOP: yes
Block Position: 0
Partition 0 Remaining Kbytes: -1
Partition 0 Size in Kbytes: -1
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 3
Any ideas are highly appreciated!