From: Peter S. <pet...@te...> - 2005-07-31 17:54:40
|
On Sun, 2005-07-31 at 19:00 +0200, Kern Sibbald wrote: > On Sunday 31 July 2005 17:57, Peter Sjoberg wrote: > > After a while I did now see that the autochanger stuff suhould work now > > so I downloaded the latest CVS (1.37.32 (29 July 2005)), put in the > > autochanger stuff and gave it a run. > > The first incremental backup worked fine but next night it was time for > > a differential and then all but the last one failed with > > > > 31-Jul 03:05 riker-dir: Start Backup JobId 4521, > > Job=BackupPicard.2005-07-31_03.05.07 31-Jul 03:05 riker-sd: > > BackupPicard.2005-07-31_03.05.07 Fatal error: Device "TL0" (/dev/tape2) is > > busy writing on another Volume. 31-Jul 03:05 picard-fd: > > BackupPicard.2005-07-31_03.05.07 Fatal error: job.c:1597 Bad response to > > Append Data command. Wanted 3000 OK data , got 3903 Error append data > > > > > > The last one (that worked) starts with > > 31-Jul 03:05 riker-dir: Start Backup JobId 4522, > > Job=BackupRiker.2005-07-31_03.05.08 31-Jul 03:06 riker-sd: 3301 Issuing > > autochanger "loaded drive 0" command. 31-Jul 03:06 riker-sd: 3302 > > Autochanger "loaded drive 0", result is Slot 9. 31-Jul 03:06 riker-sd: 3303 > > Issuing autochanger "unload slot 9, drive 0" command. 31-Jul 03:06 > > riker-sd: 3304 Issuing autochanger "load slot 2, drive 0" command. 31-Jul > > 03:07 riker-sd: 3305 Autochanger "load slot 2, drive 0", status is OK. > > 31-Jul 03:07 riker-sd: Volume "DIF012" previously written, moving to end of > > data. 31-Jul 03:08 riker-sd: Ready to append to end of Volume "DIF012" at > > file=12. > > > > > > > > > > Did I miss something or is it a bug? > > Good question. I don't immediately see the problem. One thing I'm going to do > is put a bit more information in the error message you got. > > Can you email me the Job resources for BackupPicard and BackupRiker. Perhaps > that will give a clue. The complete conf files http://www.techwiz.ca/~peters/bacula/etc/bacula-dir.conf http://www.techwiz.ca/~peters/bacula/etc/bacula-sd.conf http://www.techwiz.ca/~peters/bacula/etc/bacula-fd-riker.conf http://www.techwiz.ca/~peters/bacula/etc/bacula-fd-picard.conf > > > > > > > > > extract from .conf files (complete ones can be found at > > http://www.techwiz.ca/~peters/bacula/ ) > > > > bacula-dir.conf > > JobDefs { > > Name = "DefaultJob" > > Type = Backup > > Level = Incremental > > FileSet="AllLocal" > > Schedule = "MonthlyCycle" > > Storage = TL892 > > # Storage = TL1 > > Messages = Standard > > Pool = Inc > > Full Backup Pool = Full > > Differential Backup Pool = Diff > > Incremental Backup Pool = Inc > > Priority = 10 > > Maximum Concurrent Jobs = 4 > > Spool Data = yes > > Spool Attributes = yes > > # Rerun Failed Levels = yes > > # Reschedule On Error = yes > > # Reschedule Interval = 1 hours > > # Reschedule Times = 3 > > # Write Part After Job = No # Set to Yes after last write to a dvd/cd > > } > > > > Job { > > Name = "BackupTroy" > > JobDefs = "DefaultJob" > > FileSet="AllLocalTroy" > > Client = troy-fd > > Write Bootstrap = "/opt/bacula/workdir/BackupTroy.bsr" > > } > > ...... > > Storage { > > Name = TL892 > > Device = TL892 > > Address = riker.intra.techwiz.ca > > SDPort = 9103 > > Password = "obfuscated" > > Media Type = DLT35 > > Autochanger = yes > > Maximum Concurrent Jobs = 4 > > } > > > > > > ############################################## > > #bacula-sd.conf > > Autochanger { > > Name = "TL892" > > Device = TL0, TL1 > > Changer Device = /dev/changer > > Changer Command = "/opt/bacula/mtx-changer-ps.sh %c %o %S %a %d" > > } > > > > Device { > > Name = TL0 # TapeLoader - drive 0 > > Media Type = DLT35 # > > Drive Index = 0 > > Archive Device = /dev/tape2 # Normal archive device > > # Archive Device = /dev/nst1 # Normal archive device > > # Changer Device = /dev/changer # Generic SCSI device name > > # Changer Command = "/opt/bacula/mtx-changer-ps.sh %c %o %S %a %d" > > AutomaticMount = yes; # when device opened, read it > > Autochanger = yes > > AlwaysOpen = yes; > > RemovableMedia = yes; > > RandomAccess = no; > > LabelMedia = yes; > > Maximum Spool Size = 7G > > Maximum Job Spool Size = 7G > > Spool Directory = /spare/bacula/spool > > # Mount Anonymous Volumes = no; > > } > > > > Device { > > Name = TL1 # TapeLoader - drive 0 > > Media Type = DLT35 # > > Drive Index = 1 > > Archive Device = /dev/tape3 # Normal archive device > > # Archive Device = /dev/nst2 # Normal archive device > > # Changer Device = /dev/changer # Generic SCSI device name > > # Changer Command = "/opt/bacula/mtx-changer-ps.sh %c %o %S %a %d" > > AutomaticMount = yes; # when device opened, read it > > Autochanger = yes > > AlwaysOpen = yes; > > RemovableMedia = yes; > > RandomAccess = no; > > LabelMedia = yes; > > Maximum Spool Size = 7G > > Maximum Job Spool Size = 7G > > Spool Directory = /spare/bacula/spool > > # Mount Anonymous Volumes = no; > > } > |