I'm running into a frequent situation where Bacula wants a given volume to be 
in one drive of our autochanger, and it doesn't seem to find the volume when 
it's already in the other drive.

This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive 
autochanger and mysql5.

Most backups work fine, but this is a persistent problem.



Here's an example...there are two tapes (volumes 13 and 39) loaded and in use. 

Volume 39 is in the pool "Incremental", and is in drive 0.
Volume 13 is in the pool "Full", and is in drive 1.

I manually begin a new backup (type "Full"). Bacula correctly wants to use 
volume 13, however it insists on using that volume in drive 0 (which is in use 
by other jobs). This results in a fatal error.

-------------------------  bconsole session output 
-----------------------------------

Run Backup job
JobName:  athens-full
FileSet:  Full Set
Level:    Full
Client:   athens-fd
Storage:  pv132t
Pool:     Full
When:     2006-09-12 12:11:26
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=1050
12-Sep 12:11 parthenon-dir: Start Backup JobId 1050, 
Job=athens-full.2006-09-12_12.11.28
12-Sep 12:11 parthenon-sd: athens-full.2006-09-12_12.11.28 Fatal error: 
acquire.c:263 Wanted Volume "000013", but device "Drive-0" (/dev/tape0) is busy 
writing on "000039" .
12-Sep 12:02 athens-fd: athens-full.2006-09-12_12.11.28 Fatal error: job.c:1617 
Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

12-Sep 12:11 parthenon-dir: athens-full.2006-09-12_12.11.28 Error: Bacula 
1.38.9 (02May06): 12-Sep-2006 12:11:30
  JobId:                  1050
  Job:                    athens-full.2006-09-12_12.11.28
  Backup Level:           Full
  Client:                 "athens-fd" mips-sgi-irix6.5,irix,6.5
  FileSet:                "Full Set" 2006-07-27 14:15:10
  Pool:                   "Full"
  Storage:                "pv132t"
  Scheduled time:         12-Sep-2006 12:11:26
  Start time:             12-Sep-2006 12:11:30
  End time:               12-Sep-2006 12:11:30
  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
  Volume name(s):         
  Volume Session Id:      53
  Volume Session Time:    1157752704
  Last Volume Bytes:      292,937,748,142 (292.9 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***


stat stor
Automatically selected Storage: pv132t
Connecting to Storage daemon pv132t at parthenon:9103

parthenon-sd Version: 1.38.9 (02 May 2006) i686-pc-linux-gnu redhat (Yarrow)
Daemon started 08-Sep-06 17:58, 51 Jobs run since started.

Running Jobs:
Writing: Full Backup job braid2-full JobId=1039 Volume="000013"
    pool="Full" device=""Drive-1" (/dev/tape1)"
    Files=3,077,247 Bytes=216,468,267,436 Bytes/sec=4,547,939
    FDReadSeqNo=30,080,818 in_msg=21084980 out_msg=5 fd=14
Writing: Full Backup job athena1-inc JobId=1045 Volume="000039"
    pool="Incremental" device=""Drive-0" (/dev/tape0)"
    Files=798,055 Bytes=170,634,464,916 Bytes/sec=3,662,705
    FDReadSeqNo=9,287,136 in_msg=7011280 out_msg=5 fd=28
====
---------------------------------------------------------------------------------


I can supply copies of my config files if needed. Please let me know if you've 
got any suggestions.

Thanks,

Mark

----
Mark Bergman                      [EMAIL PROTECTED]
System Administrator
Section of Biomedical Image Analysis             215-662-7310
Department of Radiology,           University of Pennsylvania

http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu



The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to