Hi,
I ran btape test:
# btape /dev/nst2
Tape block granularity is 1024 bytes.
btape: butil.c:285 Using device: "/dev/nst2" for writing.
23-May 14:07 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
23-May 14:08 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot
6.
23-May 14:08 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
23-May 14:08 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot
6.
btape: btape.c:372 open device "Drive-0" (/dev/nst2): 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:831 Wrote 1000 blocks of 1048476 bytes.
btape: btape.c:505 Wrote 1 EOF to "Drive-0" (/dev/nst2)
btape: btape.c:847 Wrote 1000 blocks of 1048476 bytes.
btape: btape.c:505 Wrote 1 EOF to "Drive-0" (/dev/nst2)
btape: btape.c:856 Rewind OK.
Got EOF on tape.
btape: btape.c:868 Read block 954 failed! ERR=Success
*
I can't tell if that's an error or not, and if it is, what I'm supposed to do
about it. Any comments?
Then I typed "test" again:
*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 ...
23-May 14:13 btape: ERROR in record.c:253 Failed ASSERT: block->binbuf ==
(uint32_t) (block->bufp - block->buf)
23-May 14:13 btape: Fatal Error because: Bacula interrupted by signal 11:
Segmentation violation
Kaboom! btape, btape got signal 11 - Segmentation violation. Attempting
traceback.
Kaboom! exepath=/etc/bacula/clients
Calling: /etc/bacula/clients/btraceback /etc/bacula/clients/btape 31074
execv: /etc/bacula/clients/btraceback failed: ERR=No such file or directory
Traceback complete, attempting cleanup ...
The block size of 1048476 was set in the Device directive in bacula-sd.conf
like so:
Maximum block size = 1048576 #(1024x1024)
So I commented it back out, and re-ran the test, and it went through all the
tests without a hitch (with default 64K blocks). I didn't copy the output here
because it is very long.
Then I changed the maximum block size = 1024x1024x2 and re-ran btape test:
# btape /dev/nst2
Tape block granularity is 1024 bytes.
btape: butil.c:285 Using device: "/dev/nst2" for writing.
23-May 14:52 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
23-May 14:52 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot
6.
23-May 14:52 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
23-May 14:53 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot
6.
btape: btape.c:372 open device "Drive-0" (/dev/nst2): 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:831 Wrote 1000 blocks of 2097052 bytes.
btape: btape.c:505 Wrote 1 EOF to "Drive-0" (/dev/nst2)
btape: btape.c:847 Wrote 1000 blocks of 2097052 bytes.
btape: btape.c:505 Wrote 1 EOF to "Drive-0" (/dev/nst2)
btape: btape.c:856 Rewind OK.
23-May 14:54 btape JobId 0: Error: block.c:290 Volume data error at 0:0! Block
length 2097088 is insane (too large), probably due to a bad archive.
btape: btape.c:868 Read block 1 failed! ERR=Input/output error
Why is it insane? :)
Regards,
--
Alex Chekholko
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|