Changed block size to 131072.  Same result.

On 07/11/2014 01:56 PM, Brian Debelius wrote:
> Just added Minimum Block Size = 262144 with the same result.  Trying a 
> different block size now.
>
> On 07/11/2014 10:19 AM, Brian Debelius wrote:
>> Centos 7 x86_64
>> Bacula 7.0.4
>> Tape HP Ultrium LTO-4
>>
>> Hello,
>>
>> I am testing out CentOS 7 and bacula 7.0.4.  Btape Test completes 
>> without error.  Btape Fill completes without error, but on its 
>> attempt to rewind and read the tape label it responds 'Could not 
>> reserve volume "TestVolume1" for append, because it will be read.'. 
>> Has anyone else seen this?
>>
>> Wrote block=3120000, file,blk=156,138 VolBytes=812,641,943,552 
>> rate=72.92 MB/s
>> 10-Jul 19:01 btape JobId 0: End of Volume "TestVolume1" at 156:3366 
>> on device "Tape" (/dev/nst0). Write of 262144 bytes got -1.
>> 10-Jul 19:01 btape JobId 0: Re-read of last block succeeded.
>> btape: btape.c:2711-0 Last block at: 156:3365 this_dev_block_num=3366
>> btape: btape.c:2746-0 End of tape 156:0. Volume 
>> Bytes=813,488,144,384. Write rate = 72.84 MB/s
>> btape: btape.c:2316-0 Wrote 1000 blocks on second tape. Done.
>> Done writing 0 records ...
>> btape: btape.c:2385-0 Wrote state file last_block_num1=3365 
>> last_block_num2=0
>> btape: btape.c:2400-0
>>
>> 19:01:59 Done filling tape at 156:0. Now beginning re-read of tape ...
>> btape: btape.c:2481-0 Enter do_unfill
>> 10-Jul 19:02 btape JobId 0: Warning: acquire.c:276 Read acquire: 
>> vol_mgr.c:382 Could not reserve volume "TestVolume1" for append, 
>> because it will be read.
>> block.c:443 Read zero bytes Vol= at -1 on device "Tape" (/dev/nst0).
>> Mount Volume "TestVolume1" on device "Tape" (/dev/nst0) and press 
>> return when ready:
>>
>> Bacula-sd.conf:
>>
>> Device {
>>   Name = Tape
>>   Drive Index = 0
>>   Device Type = Tape
>>   Archive Device = /dev/nst0
>>   Automatic Mount = yes
>>   Removable Media = yes
>>   Random Access = no
>>   Media Type = Tape
>>   Autochanger = no
>>   Auto Select = yes
>>   Always Open = yes
>>   Maximum Block Size = 262144
>>   Maximum File Size = 4G
>>   Maximum Spool Size = 100G
>>   Maximum Job Spool Size = 20G
>>   Maximum Network Buffer Size = 65536
>>   Spool Directory = /tank/bacula-spool
>> }
>>
>


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to