SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Volume already exist
Author Message
Post Volume already exist 
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)

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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume already exist 
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)

Can someone help me?


Do you have the latest bacula meaning version bacula-5.2.3? I remember
seeing this in the past but I thought it was fixed.

John

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Volume already exist 
I'm useing the ubuntu -server 10.04 version which is 5.0.1. I'll test
the update and let you know the result!

thanks for help!

moe

Am 16.01.2012 15:13, schrieb John Drescher:
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)

Can someone help me?


Do you have the latest bacula meaning version bacula-5.2.3? I remember
seeing this in the past but I thought it was fixed.

John


------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume already exist 
Looking into the log files i found some crude maybe related error.

The label format of my pool is

Label Format =
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m"

with the intention to generate a new file for each job.

the job name of the below log snipet is "R25"

so i thought the resulting filename sould be "R25_2012-01-13_10h33m" but
the created and used filename is "R33_2012-01-13_10h33m"

but why?

thanks for help!


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"
2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete):
"Task Scheduler Writer", State: 0x1 (VSS_WS_STABLE)
2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete): "VSS
Metadata Store Writer", State: 0x1 (VSS_WS_STABLE)
2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete):
"Performance Counters Writer", State: 0x1 (VSS_WS_STABLE)

Am 16.01.2012 15:13, schrieb John Drescher:
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)

Can someone help me?


Do you have the latest bacula meaning version bacula-5.2.3? I remember
seeing this in the past but I thought it was fixed.

John


------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume already exist 
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume already exist 
Thanks for clearifying this for me. I didn't know that there can only be
one active device at a time.

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

"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.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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Volume already exist 
On Tue, Jan 17, 2012 at 2:56 AM, Moritz Herrmann <m.herrmann < at > ibumedia.de> wrote:
Thanks for clearifying this for me. I didn't know that there can only be
one active device at a time.

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


I believe this is part of the bug I mentioned.


"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.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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
John M. Drescher

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Volume already exist 
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.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.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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB