Bacula-users

Re: [Bacula-users] btape multivolume fill test fails on 7.4.4 but succeeds on 5.2.13

2017-01-27 12:39:43
Subject: Re: [Bacula-users] btape multivolume fill test fails on 7.4.4 but succeeds on 5.2.13
From: Caribe Schreiber <caribe AT auctionharmony DOT com>
To: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>, bacula-users AT lists.sourceforge DOT net
Date: Fri, 27 Jan 2017 11:38:32 -0600
That's sad to hear, but I'm glad to know that it's got a known issue
that's being worked on.

I've tried the single volume test with similar results (see below). Is
the breakage only in the multivolume test, or is the btape fill facility
just plain broken in 7.4.4?

Thanks for your help!




-------begin single volume fill breakage-----------
Wrote block=38770000, file,blk=251,17749 VolBytes=2,501,130,175,488
rate=142.2 MB/s
Wrote block=38775000, file,blk=251,22749 VolBytes=2,501,452,735,488
rate=142.2 MB/s
27-Jan 11:30 btape JobId 0: End of Volume "TestVolume1" at 251:26146 on
device "Drive-1" (/dev/nst0). Write of 64512 bytes got -1.
27-Jan 11:31 btape JobId 0: Re-read of last block succeeded.
btape: btape.c:2712-0 Last block at: 251:26145 this_dev_block_num=26146
btape: btape.c:2747-0 End of tape 251:0. Volume Bytes=2,501,671,882,752.
Write rate = 142.1 MB/s
btape: btape.c:2315-0 Wrote 1000 blocks on second tape. Done.
Done writing 0 records ...
btape: btape.c:2384-0 Wrote state file last_block_num1=26145
last_block_num2=0
btape: btape.c:2399-0

11:31:02 Done filling tape at 251:0. Now beginning re-read of tape ...
btape: btape.c:2480-0 Enter do_unfill
27-Jan 11:31 btape JobId 0: Ready to read from volume "TestVolume1" on
tape device "Drive-1" (/dev/nst0).
Rewinding.
Reading the first 10000 records from 0:0.
10000 records read now at 1:5084
Reposition from 1:5084 to 251:26145
Reading block 26145.




The blocks differ at byte 0


!!!! The last block written and the block
that was read back differ. The test FAILED !!!!
This must be corrected before you use Bacula
to write multi-tape Volumes.!!!!
btape: btape.c:2407-0 do_unfill failed.

-------end single volume fill breakage-------------



On 01/27/17 11:04, Alan Brown wrote:
> On 27/01/17 00:36, Caribe Schreiber wrote:
>> Hi all,
>>
>> I'm hoping someone can help point me in the right direction to get the
>> btape multivolume fill test to work under bacula-7.4.4.
>
> You can't. It's broken.
>
> It was fixed recently but that fix hasn't rolled into the public
> release stream yet
> (and it looks like there's still another but in the test part of the
> code)
>
>
>
>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users