My guess is that the SD is repeated sending Update_media with the status set
to Append, even though the Director has set it to Full in has_volume_expired.

Maybe line 511 of src/stored/askdir.c is copying in the wrong direction?

         bstrncpy(dcr->VolCatInfo.VolCatStatus, dev->VolCatInfo.VolCatStatus, 
sizeof(vol.VolCatStatus));

That would set the status back to Append in the SD, ignoring the value
obtained from the Director by do_get_volume_info.

The code in 7.4.4 copied the status from dcr (obtained from the Director) to
dev.  I don't know why the other assignments into dcr are needed.

__Martin



>>>>> On Tue, 2 Oct 2018 11:35:57 +0200, Kern Sibbald said:
> 
> Hello,
>
> Hmm.  107 messages and and the volumes are 107... long.  Strange 
> coincidence.  Could you provide a copy of your bacula-sd.conf as well 
> as the full output including other jobs running at the time of the 107 
> messages.  As far as I know, there is nothing that would trigger a 
> message for each gigabyte, unless it is one of your parameters in the 
> bacula-sd.conf file -- e.g. are you writing an EOF on your tape 
> volumes each 1 GB?
>
> Best regards,
> Kern
>
> On 10/01/2018 10:32 PM, Stieneke, Dan wrote:
>>
>> 64-bit Ubuntu 18.04LTS using distro-packaged Bacula, v9.0.6.
>>
>> Backing up to 100G disk volumes, max job=1, I get 107 lines in the 
>> output for each volume:
>>
>> ============================================================================================================
>>
>> 01-Oct 12:47 <SERVERNAME>-dir JobId 23: Max Volume jobs=1 exceeded. 
>> Marking Volume "<VOLNAME>-0056" as Used.
>>
>> ============================================================================================================
>>
>> The 100G disk volumes are **107**,374,158,233 bytes long, so every 
>> ~1GB the message appears. I’d much rather have only one warning than 107.
>>
>> Is there a setting I’m missing somewhere?
>>
>> Thanks,
>> Dan Stieneke
>>
>> IT Specialist
>>
>> USDA - ARS - NWISRL
>>
>> 3793 N 3600 E
>>
>> Kimberly, ID 83341
>>
>> 208/423-6519


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

Reply via email to