Hi, On 10/21/2006 4:15 AM, John Felczak wrote: > Bacula 1.36.3 on Fedora Core 4
Consider upgrading to 1.38. It has some enhancements, and it is much more likely to get qualified support as many list users dropped 1.36 quite a while ago... > Exabyte VXA Packetloader 1x10 1U > > Bacula seems able to successfully query this autochanger if it's loaded, and > I can unload it using the unmount command in bconsole, but instead of loading > the drive when running a backup or restore job, it prompts for a manual mount: > > 20-Oct 13:59 sandy-sd: 3301 Issuing autochanger "loaded drive 0" command. > 20-Oct 13:59 sandy-sd: 3302 Autochanger "loaded drive 0", result: nothing > loaded. > 20-Oct 13:59 sandy-sd: RestoreFiles.2006-10-20_13.55.44 Warning: > acquire.c:146 Couldn't rewind device "VXA-Drive" (/dev/nst0): ERR=dev.c:678 > Rewind error on "VXA-Drive" (/dev/nst0). ERR=No medium found. > > 20-Oct 13:59 sandy-sd: Please mount Volume "A0000001" on Storage Device > "VXA-Drive" (/dev/nst0) for Job RestoreFiles.2006-10-20_13.55.44 > 20-Oct 14:01 sandy-sd: 3301 Issuing autochanger "loaded drive 0" command. > 20-Oct 14:01 sandy-sd: 3302 Autochanger "loaded drive 0", result: nothing > loaded. > 20-Oct 14:01 sandy-sd: RestoreFiles.2006-10-20_13.55.44 Warning: > acquire.c:146 Couldn't rewind device "VXA-Drive" (/dev/nst0): ERR=dev.c:678 > Rewind error on "VXA-Drive" (/dev/nst0). ERR=No medium found. > > 20-Oct 14:01 sandy-sd: Please mount Volume "A0000001" on Storage Device > "VXA-Drive" (/dev/nst0) for Job RestoreFiles.2006-10-20_13.55.44 > > Here are the storage definitions from my bacula-sd.conf: > > Autochanger { > Name = "VXA-Library" > Device = "VXA-Drive" > Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" > Changer Device = /dev/sg4 > } Interesting. Are you sure you run 1.36, not 1.38? IIRC, the Autochanger resource was only implemented with 1.38... > Device { > Maximum Changer Wait = 120 > Name = "VXA-Drive" > Archive Device = /dev/nst0 > Device Type = Tape > Media Type = "VXA-2" > Autochanger = Yes > Changer Device = /dev/sg4 > Drive Index = 0 > Autoselect = yes > AlwaysOpen = yes > Removable Media = yes > Random Access = no > Label Media = yes > Automatic Mount = yes; > } > > Isn't that what autochangers are supposed to be for? > > BTW, I can load, unload, and do any of the various tape library operations > from mtx-changer at the command line. The btape test and btape autochanger > test both pass. The btape multiple tape fill command also fails to load the > drive, but from what I've seen on the list that's a known btape bug, and > shouldn't prevent bacula from properly using the autochanger the way it > doesn't seem to be doing. > > If I try unmount and mount commands from bconsole I get the following: > > *unmount > Automatically selected Storage: VXA-Tape Ah, that's it... it seems like your director configuration doesn't know about VXA-Library but only references VXA-Tape... If you actually have a 1.38 version running reference the Autochanger device wherever possible, i.e. everywhere except where you really know why you want a drive, not the autochanger, addressed. > Connecting to Storage daemon VXA-Tape at sandy.siderean.com:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result is Slot 8. > 3307 Issuing autochanger "unload slot 8, drive 0" command. > 3001 Device "VXA-Drive" (/dev/nst0) unmounted. > > > *mount > Automatically selected Storage: VXA-Tape > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > 3905 Device "VXA-Drive" (/dev/nst0) open but no Bacula volume is mounted. > If this is not a blank tape, try unmounting and remounting the Volume. > > So bacula seems to know how to unload the drive but not how to load it, and > there doesn't seem to be any "load" command I can use to tell bconsole to > load the tape either. No, there's no load command or anything... you can, to contibue your backups for example :-) unmount the drive from bconsole, use mtx to load the next tape, and then mount from bconsole. > > Ideas, anyone? Sure, and I hope they help you. Arno > John J. Felczak > Build & Integration Manager > Acting IT Manager > Siderean Software, Inc. > > > > ------------------------------------------------------------------------- > 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 -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- 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