Bacula-users

[Bacula-users] Fwd: How does the volume names automatic with mediaid

2012-10-30 09:19:22
Subject: [Bacula-users] Fwd: How does the volume names automatic with mediaid
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 30 Oct 2012 09:16:51 -0400
---------- Forwarded message ----------
From: John Drescher <drescherjm AT gmail DOT com>
Date: Tue, Oct 30, 2012 at 9:16 AM
Subject: Re: [Bacula-users] How does the volume names automatic with mediaid
To: olivier.delestre AT univ-rouen DOT fr


On Tue, Oct 30, 2012 at 9:06 AM, Olivier Delestre
<olivier.delestre AT univ-rouen DOT fr> wrote:
> Le 30/10/2012 13:51, John Drescher a écrit :
>
>>> I wanted to know if it is possible to have a volume name = to Mediaid
>>> with the automation.
>>> for example, volumename "3487" for a mediaid "3487"
>>>
>>> and so,
>>> what will happen when mediaid arrives at 9999 :(
>>>
>> I would expect the next meta id to be 10000 although I only have
>> around 400 tape + disk volumes at work and less at home.
>>
>> John
>
> But, i have a strategie of One pool = One Client and Maximum Volume Jobs = 1
>
> So actually i have a mediaid=5097 and for the second server 3879
>
> I do not understand the concepts of pools but that's my conf. and I ask
> myself the max Mediaid ???
>
> So when i relabel a media ( all on disk volume ), the mediaid is incremented
> relabel storage=xxxxx pool=xxxx   oldvolume=002pool-1245 volume=1245 it does
> not keep the old Mediaid
>

Looking at the database design documentation MetaID appears to be a 32
bit unsigned integer so I expect the max is 2^32 -1.

John


-- 
John M. Drescher

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>