All pastes #383519 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-06 13:11 UTC
rendered paste body
jericho ~ # 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:10 btape: btape Error: block.c:994 Read error on fd=3 at file:blk 0:227 on device "DLT80" (/dev/nst0). ERR=Input/output error.
btape: btape.c:862 Read block 228 failed! ERR=Input/output error
*