Bacula-users

Re: [Bacula-users] Volume already exist

2012-01-17 12:14:34
Subject: Re: [Bacula-users] Volume already exist
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 17 Jan 2012 12:12:39 -0500
On 1/17/2012 2:56 AM, Moritz Herrmann wrote:
> Thanks for clearifying this for me. I didn't know that there can only be
> one active device at a time.

There can be more than one device. However, only one media volume can be 
"mounted" in a device. In the case of file storage, that media volume is 
a normal file. In other words, if there is only one device, then only 
one volume file at a time can be written. And if MaximumVolumeJobs=1, 
then only one job can write to that volume file.

> So how do I configure such an autochange and why has the generated
> backup file the wrong job name

It has been suggested that the wrong job name is a bug. I'm not familiar 
with that. The autochanger resource is documented at 
http://www.bacula.org/5.2.x-manuals/en/main/main/Autochanger_Resource.html. 
Bacula comes with an autochanger script named disk-changer that may be 
used to implement an autochanger. There is also vchanger 
(sourceforge.net/projects/vchanger/), designed primarily for removable 
disk storage, but also works for fixed disk.

>
> "R33_2012-01-13_10h33m" should be "R25_2012-01-13_10h33m"
>
> 2012-01-16 10:30:00   backup-dir JobId 37: Start Backup JobId 37,
> Job=R25.2012-01-16_10.30.00_29
> 2012-01-16 10:30:00   backup-dir JobId 37: Using Device "FileStorage"
> 2012-01-16 10:30:01   backup-sd JobId 37: Labeled new Volume
> "R33_2012-01-13_10h33m" on device "FileStorage" (/media/storage).
> 2012-01-16 10:30:01   backup-sd JobId 37: Wrote label to prelabeled
> Volume "R33_2012-01-13_10h33m" on device "FileStorage" (/media/storage)
> 2012-01-16 10:30:01   backup-dir JobId 37: Max Volume jobs exceeded.
> Marking Volume "R33_2012-01-13_10h33m" as Used.
> 2012-01-16 10:30:09   r25-fd JobId 37: Generate VSS snapshots.
> Driver="VSS Vista", Drive(s)="CE"
>
>> On 1/16/2012 4:51 AM, Moritz Herrmann wrote:
>>> Hello,
>>>
>>> I'm starting to implement a bacula environment.
>>>
>>> Now I have a problem with two jobs started at the same time. One
>>> starts without error but the second throws errors while the first one
>>> is running (log file)
>> Unless the Device (FileStorage in this case) specified in the Storage
>> resource in bacula-dir.conf specifies a autochanger, then device
>> FileStorage can only have one volume loaded at a time. Specifying
>> MaximumVolumeJobs=1 in the Pool resource means that the FileStorage
>> device cannot possibly be used by more than one job at a time. In order
>> to write to multiple volumes simultaneously, you either have to
>> configure multiple devices and divide the jobs amongst them or configure
>> as an autochanger with multiple drives. Or you could just schedule the
>> jobs to run sequentially.
>>
>>> Can someone help me?
>>>
>>> Thanks
>>>
>>> Moritz Herrmann
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Mar 27 - Feb 2
>> Save $400 by Jan. 27
>> Register now!
>> http://p.sf.net/sfu/rsa-sfdev2dev2
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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>