Hi,

I created an LVM disk, made up of 2x500GB hard drives, and I made the 
necessary changes in the bacula conf files to be able to send jobs to 
that new storage. Here are some of the configuration changes.

My problem is that I cannot send multiple jobs to backup simultaneously. 
the first job starts, then I get an error on each subsequent job. I 
dont' know if I'm missing something in my configuration, or I still need 
to do something to get the LVM disk properly installed in bacula, or 
something else... I'm not sure.

I have the "Maximum Concurrent Jobs = 20" in the Storage and the Client 
directives, and I have it setup to 80 in the Director directive, in the 
bacula-dir.conf file; and also in the Storage directive in the 
bacula-sd.conf file.

It seems to be requesting the same volume, BLVPool13-BLV01-V0003 in this 
case, which is being used by the previous job. I would expect it to be 
getting the next available volume. Is there something that I'm not 
seeing...

Any help would be greatly appreciated.

Thanks,
Elie Azar


in bacula-dir.conf:
----------------------
Storage {
 Name = BLV01C
 Address = coal.vl0.impulse.net
 SDPort = 9103
 Password = "xuCV21/ZNJbdp5joPZY0XEB10uFMf48ZnB98Lp3gri82"
 Device = BLV01
 Media Type = BLV01
 Maximum Concurrent Jobs = 20
}

JobDefs {
 Name = "BLVCRetention13"
 Type = Backup
 Level = Incremental
 Messages = Standard
 Pool = BLVPool13
 Priority = 10
 Maximum Concurrent Jobs = 20
}

# 13 day BLV pool definition
Pool {
 Name = BLVPool13
 Pool Type = Backup
 Recycle = yes                                       # Bacula can 
automatically recycle Volumes
 AutoPrune = yes                                # Prune expired volumes
 Volume Retention = 13 days           # 13 days
 Maximum Volume Jobs = 1            # one job per volume
 LabelFormat = "${Pool}-${MediaType}-V${NumVols:p/4/0/r}"
}

Job {
 Name = "Coal-Test1"
 JobDefs = "BLVCRetention13"
 Storage = "BLV01CV"
 Client = coal-fd
 FileSet = "Test Set"
 Write Bootstrap = "/var/lib/bacula/Coal.bsr"
}
Job {
 Name = "Linux2-Test1"
 JobDefs = "BLVCRetention13"
 Storage = "BLV01CV"
 Client = linux2-fd
 FileSet = "Test Set"
 Write Bootstrap = "/var/lib/bacula/Linux2.bsr"
}


In bacula-sd.conf:
----------------------

Device {
 Name = BLV01
 Archive Device = /backups/autofs/BLV01/bacula
 Media Type = BLV01
 Mount Point = /backups/autofs/BLV01
 @/etc/bacula/device-mount.inc
}



Bconsole error messages:
-------------------------------

Run Backup job
JobName:  Red-FS
Level:    Incremental
Client:   red-fd
FileSet:  Red Set of root usr var home tmp var-spool cyrus-amavis cert 
conf imsp quota sieve tmp
Pool:     BLVPool13 (From Job resource)
Storage:  BLV01CV (From Job resource)
When:     2007-11-05 13:36:47
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=13665
*
05-Nov 13:36 coal-dir JobId 13665: Start Backup JobId 13665, 
Job=Red-FS.2007-11-05_13.36.08
05-Nov 13:36 coal-dir JobId 13665: Created new Volume 
"BLVPool13-BLV01-V0003" in catalog.
05-Nov 13:36 coal-dir JobId 13665: Using Device "BLV01"
05-Nov 13:36 coal-sd JobId 13665: Labeled new Volume 
"BLVPool13-BLV01-V0003" on device "BLV01" (/backups/autofs/BLV01/bacula).
05-Nov 13:36 coal-sd JobId 13665: Wrote label to prelabeled Volume 
"BLVPool13-BLV01-V0003" on device "BLV01" (/backups/autofs/BLV01/bacula)
05-Nov 13:36 coal-dir JobId 13665: Max Volume jobs exceeded. Marking 
Volume "BLVPool13-BLV01-V0003" as Used.
red-fd:      /home is a different filesystem. Will not descend from / 
into /home
red-fd:      /usr is a different filesystem. Will not descend from / 
into /usr
red-fd:      /var is a different filesystem. Will not descend from / 
into /var
red-fd:      /cyrus is a different filesystem. Will not descend from / 
into /cyrus
*
*
Run Backup job
JobName:  Linux2-Test1
Level:    Incremental
Client:   linux2-fd
FileSet:  Test Set
Pool:     BLVPool13 (From Job resource)
Storage:  BLV01CV (From Job resource)
When:     2007-11-05 13:38:37
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=13667
*

*mes
05-Nov 13:38 coal-dir JobId 13667: Start Backup JobId 13667, 
Job=Linux2-Test1.2007-11-05_13.38.10
05-Nov 13:38 coal-dir JobId 13667: There are no more Jobs associated 
with Volume "BLVPool13-BLV01-V0003". Marking it purged.
05-Nov 13:38 coal-dir JobId 13667: All records pruned from Volume 
"BLVPool13-BLV01-V0003"; marking it "Purged"
05-Nov 13:38 coal-dir JobId 13667: Recycled volume "BLVPool13-BLV01-V0003"
05-Nov 13:38 coal-dir JobId 13667: Using Device "BLV01"
05-Nov 13:38 coal-sd JobId 13667: Fatal error: Cannot recycle volume 
"BLVPool13-BLV01-V0003" on device "BLV01" (/backups/autofs/BLV01/bacula) 
because it is in use by another job.
05-Nov 13:38 linux1-fd: Linux2-Test1.2007-11-05_13.38.10 Fatal error: 
job.c:1752 Bad response to Append Data command. Wanted 3000 OK data, got 
3903 Error append data

05-Nov 13:38 coal-dir JobId 13667: Error: Bacula coal-dir 2.2.5 
(09Oct07): 05-Nov-2007 13:38:42
 Build OS:               i686-pc-linux-gnu gentoo 1.12.6
 JobId:                  13667
 Job:                    Linux2-Test1.2007-11-05_13.38.10
 Backup Level:           Incremental, since=2007-11-01 12:20:55
 Client:                 "linux2-fd" 2.0.1 (12Jan07) 
i686-pc-linux-gnu,gentoo,1.4.16
 FileSet:                "Test Set" 2007-10-22 13:46:08
 Pool:                   "BLVPool13" (From Job resource)
 Storage:                "BLV01CV" (From Job resource)
 Scheduled time:         05-Nov-2007 13:38:37
 Start time:             05-Nov-2007 13:38:42
 End time:               05-Nov-2007 13:38:42
 Elapsed time:           0 secs
 Priority:               10
 FD Files Written:       0
 SD Files Written:       0
 FD Bytes Written:       0 (0 B)
 SD Bytes Written:       0 (0 B)
 Rate:                   0.0 KB/s
 Software Compression:   None
 VSS:                    no
 Encryption:             no
 Volume name(s):
 Volume Session Id:      8
 Volume Session Time:    1194292601
 Last Volume Bytes:      1 (1 B)
 Non-fatal FD errors:    0
 SD Errors:              0
 FD termination status:  Error
 SD termination status:  Error
 Termination:            *** Backup Error ***


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to