Thank you for your reply. I have recorded the changes in my configuration files. The failure is the same. But it appears only when I try to write on a new (prelabeled) volume. Can this be the problem?
Best Regards! Marius Aaron Knister schrieb: > The problem is that your jobs are configured to use the tape drive as > the storage as opposed to the loader. > > The following line in your dir config - > > Storage = VXA-320 > > > Should be changed to > > Storage = ExabytePacketloader1Ux10 > > Also add this line to your sd config in the VXA-320 section- > > Changer Device = /dev/sg1 > > > > You have to tell your jobs to use the Autochanger device instead of the > actual tape drive. If you use the actual tape drive then its not aware > of the autochanging capabilities of your loader. > > I hope that makes sense. > > -Aaron > > Marius Dorlöchter wrote: >> Hello, >> >> it's my fist post. Please exused my worse english. I have already >> entered a bug report: http://bugs.bacula.org/view.php?id=774. But i am >> not sure that it is a bug. >> So that is my problem. >> >> I have an autochanger Exabyte Packetloader 10. When a Job starts it >> load the Tape but it is not able to mount the Volume. >> >> Device status: >> Autochanger "ExabytePacketloader1Ux10" with devices: >> "VXA-320" (/dev/st0) >> Device "FileStorage" (/var/bacula) is not open. >> Device "VXA-320" (/dev/st0) open but no Bacula volume is currently >> mounted. >> Device is BLOCKED waiting for mount of volume "A0000007". >> Slot 7 is loaded in drive 0. >> Total Bytes Read=0 Blocks Read=0 Bytes/block=0 >> Positioned at File=0 Block=0 >> ==== >> >> In Use Volume status: >> A0000007 on device "VXA-320" (/dev/st0) >> >> A mount of the device don't help. I have to unmount and then to mount >> it. Then the job runs. But the failure returns every night. >> >> >> bacula-sd.conf >> -------------- >> ... >> Autochanger { >> Name = Exabyte Packetloader 1Ux10 >> Device = VXA-320 >> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" >> Changer Device = /dev/sg1 >> } >> >> Device { >> Name = VXA-320 >> Drive Index = 0 >> Media Type = X-23 >> Archive Device = /dev/st0 >> AutomaticMount = yes; >> AlwaysOpen = yes; >> RemovableMedia = yes; >> RandomAccess = no; >> AutoChanger = yes >> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" >> } >> ... >> >> bacuala.dir.conf >> ---------------- >> ... >> Job { >> Name = "NightlySave-server02" >> Type = Backup >> Level = Full >> Client = server02-fd >> FileSet = "Full Set" >> Messages = Standard >> Storage = VXA-320 >> Pool = Default >> Schedule = "NightlySave" >> Run Before Job = "/etc/bacula/before_job" >> } >> >> Schedule { >> Name = "NightlySave" >> Run = Level=Full Pool=MonatsLibraryPool 1st sun at 23:05 >> Run = Level=Full Pool=WochenLibraryPool 2nd-5th sun at 23:05 >> Run = Level=Differential Pool=MontagPool Monday at 23:05 >> Run = Level=Differential Pool=DienstagPool Tuesday at 23:05 >> Run = Level=Differential Pool=MittwochPool Wednesday at 23:05 >> Run = Level=Differential Pool=DonnerstagPool Thursday at 23:05 >> Run = Level=Differential Pool=FreitagPool Friday at 23:05 >> Run = Level=Full Pool=MonatsCyclePool 1st sun at 22:55 >> Run = Level=Full Pool=WochenCyclePool 2nd-5th sun at 22:55 >> } >> >> Pool { >> Name = MontagPool >> Pool Type = Backup >> Recycle = yes >> AutoPrune = yes >> Volume Retention = 6d >> } >> ... >> >> before_job >> ---------- >> bconsole <<EOF >> update slots VXA-320 >> EOF >> >> >> Thanks for your help. >> >> Regards! >> >> mortice >> >> ------------------------------------------------------------------------- >> 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 >> >> > ------------------------------------------------------------------------- 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