Re: [Bacula-users] Bacula Recycling process

2016-03-14 Thread Santiago Díaz Soler


El 14/03/16 a las 21:16, Santiago Díaz Soler escribió:
>
>
> El 14/03/16 a las 20:43, John Drescher escribió:
>>> Although not your problem (since DRC202L5 was written yesterday), I
>>> see that you have a 7 day retention period on these volumes. Not the
>>> 60 that is in your config.
>>
>> Remember that when you change retention periods in the config files
>> this applies to new volumes only. To get it to apply to existing
>> volumes you need to execute the following 2 commands in bconsole
>> (answering the prompts for each command):
>>
>> update pool from resource
>>
>> update all volumes in pool
>>
>> John
>
> John, thanks for the answer.
> I set the retention period manually with the bconsole, sorry for not 
> bringing that up.
> Even if the volume was written yesterday, bacula changes the Inchanger 
> flag and the slot number of the other volume marked as used with the 
> values from the volume that's supposed to be recycled, and that 
> behavior makes the recycle process to crash.
>
> Paste from /etc/bacula/mtx-changer /dev/sg2 listall
>
> S:11:EXXL5
> S:12:F:DRC201L5
> S:13:F:DRC202L5
> S:14:F:XXL5
>
> At first i thought that it was a retention/volume-use period 
> misconfiguration, but then I checked that it was a random issue and I 
> just can't think of anything else.
>
> What do you think?
>
> Thanks for your help.
> Regards
>
I forget to say that when I execute the "update slots" command, the 
director corrects the volume slots and Inchanger flag values but when 
the job starts the mount requests the incorrect slot.

Thanks for everything
Regards

-- 
Santiago Diaz Soler

Área de operaciones
Coordinación de tecnología
Tel.: 4704-4000 interno (3010)

Educ.ar S.E. - https://www.educ.ar
Ministerio de Educación
Av. Comodoro Rivadavia 1151 (CP 1429) - CABA


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Recycling process

2016-03-14 Thread Santiago Díaz Soler


El 14/03/16 a las 20:43, John Drescher escribió:
>> Although not your problem (since DRC202L5 was written yesterday), I
>> see that you have a 7 day retention period on these volumes. Not the
>> 60 that is in your config.
>
> Remember that when you change retention periods in the config files
> this applies to new volumes only. To get it to apply to existing
> volumes you need to execute the following 2 commands in bconsole
> (answering the prompts for each command):
>
> update pool from resource
>
> update all volumes in pool
>
> John

John, thanks for the answer.
I set the retention period manually with the bconsole, sorry for not 
bringing that up.
Even if the volume was written yesterday, bacula changes the Inchanger 
flag and the slot number of the other volume marked as used with the 
values from the volume that's supposed to be recycled, and that behavior 
makes the recycle process to crash.

Paste from /etc/bacula/mtx-changer /dev/sg2 listall

S:11:EXXL5
S:12:F:DRC201L5
S:13:F:DRC202L5
S:14:F:XXL5

At first i thought that it was a retention/volume-use period 
misconfiguration, but then I checked that it was a random issue and I 
just can't think of anything else.

What do you think?

Thanks for your help.
Regards

-- 
Santiago Diaz Soler

Área de operaciones
Coordinación de tecnología
Tel.: 4704-4000 interno (3010)

Educ.ar S.E. - https://www.educ.ar
Ministerio de Educación
Av. Comodoro Rivadavia 1151 (CP 1429) - CABA


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Recycling process

2016-03-14 Thread John Drescher
> Although not your problem (since DRC202L5 was written yesterday), I
> see that you have a 7 day retention period on these volumes. Not the
> 60 that is in your config.


Remember that when you change retention periods in the config files
this applies to new volumes only. To get it to apply to existing
volumes you need to execute the following 2 commands in bconsole
(answering the prompts for each command):

update pool from resource

update all volumes in pool

John

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Recycling process

2016-03-14 Thread John Drescher
On Mon, Mar 14, 2016 at 4:53 PM, Santiago Díaz Soler
 wrote:
> Hi, everyone
>
> I'm facing a weird issue on a bacula instance over Debian 8 (jessie).
> I have a pool with two volumes and everytime that a volume is marked as
> "recycle" (14 days) bacula sets  InChanger and Slot values to 0. Also, the
> volume that was marked as Used gets the InChanger and Slot values of the
> soon to be recycled volume.
> This behavior happens randomly, sometimes the recycle process gets no error.
>
> +-++---+-++--+--+-+--+---+---+-+---+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes   | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +-++---+-++--+--+-+--+---+---+-+---+
> |  93 | DRC201L5   | Used  |   1 | 37,016,275,968 |   45 |
> 604,800 |   1 |   13 | 1 | LTO-5 | 2016-03-01 21:14:56 |
> | 120 | DRC202L5   | Recycle  |   1 | 50,507,347,968 |   56 |
> 604,800 |   1 |0 | 0 | LTO-5 | 2016-03-13 21:08:43 |
> +-++---+-++--+--+-+--+---+---+-+---+
> (Volume DRC201L5 is in slot 12 but when the volume DRC202L5 enters in
> recycle state, it takes the slot 13)
>

Although not your problem (since DRC202L5 was written yesterday), I
see that you have a 7 day retention period on these volumes. Not the
60 that is in your config.

John

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users