I am trying to write a file directly to a tape in my LTO4 tape drive. From what I understand, this should be possible.
However, when I attempt to use dd to write to it (e.g. dd if="/test.img" of=/dev/nst0 bs=1024
) it fails. From what I understand from the output, this is because I am not using tar?
dd: error reading '/dev/nst0': Input/output error
0+0 records in
0+0 records out
0 bytes copied, 0.00600797 s, 0.0 kB/s
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Is tar absolutely necessary to write to a tape? If not, what am I doing wrong?
The image itself is simply a disk image. Nothing special.
Tape drive information:
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 4-SCSI '
Revision: 'A63Z'
If you need any more information, please let me know.