All pastes #383535 Raw Edit

Something

public text v1 · immutable
·published 2007-03-06 13:26 UTC
rendered paste body
jericho kfullert # btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:286 Using device: "/dev/nst0" for writing.
btape: btape.c:368 open device "DLT80" (/dev/nst0): OK
*test

=== Write, rewind, and re-read test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: btape.c:825 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0)
btape: btape.c:841 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0)
btape: btape.c:850 Rewind OK.
06-Mar 13:26 btape: btape Error: block.c:317 Volume data error at 0:134!
Block checksum mismatch in block=134 len=64448: calc=a78cc3b6 blk=21b112ad
btape: btape.c:862 Read block 135 failed! ERR=Input/output error
*