Hi all,

I am currently struggling to get a tape drive to work on a OpenBsd box
I've recently installed, I  must say I am new to this devices (tape
drive) and I have not used them before.

I am running :

OpenBSD XXXX.my.domain 6.3 GENERIC.MP#9 amd64

On a x86-64 Dell, the tape drive is an HP StorageWorks Ultrium 960.I
haven't done much to set-up the device and it is apparently getting
recognized as the command sees it:

XXXX# mt -f  /dev/rst0 status
SCSI tape drive, residual=0
ds=3<Mounted>
er=0
blocksize: 1024 (1024)
density: 0 (0)

I did set the block type while testing but it does not make any
difference, it seems that I can write with no issues to the device but
I am having issues while reading:

XXXX# tar cf /dev/rst0 ./test.txt
XXXX# mt -f  /dev/nrst0 rewind
XXXX# tar xf /dev/rst0 .out
tar: Failed read on archive volume 1: Input/output error
tar: Unable to recover from an archive read failure.
tar: Sorry, unable to determine archive format.

What can I do to diagnose the problem ? Using other utilities such as
pax did not make any difference.

Thanks,
Pietro

Reply via email to