On 8/27/07, Richard White <[EMAIL PROTECTED]> wrote: > Bacula 2.2.0 running on SLES 10 with an Ecrix 1.10 autoloader. Here is the > pertinent section of bacula-sd.conf: > > # Autochanger resource > Autochanger { > Name = "Auto" > Device = VXA3 > Changer Device = /dev/sg1 > Changer Command = "/bacula/bin/mtx-changer %c %o %S %qa %d" > } > > # Internal VXA-3 Drive > # > > Device { > Name = VXA3 > Drive Index = 0 > Autochanger = yes > Media Type = VXA-3 > Archive Device = /dev/nst0 > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > LabelMedia = Yes > RemovableMedia = yes; > RandomAccess = no; > } > > and from bacula-dir.conf: > > Storage { > Name = Auto > Address = 10.1.0.17 > SDPort = 9103 > Password = "ourpassword" > Device = "Auto" > Media Type = VXA-3 > } > > Storage { > Name = VXA > Address = 10.1.0.17 > SDPort = 9103 > Password = "ourpassword" > Device = "VXA3" > Media Type = "VXA-3" > Maximum Concurrent Jobs = 5 > } > > When the weekend backup ran it filled up the tape in the drive (A0000004 from > slot 4)and removed it, but it did not load the next tape. I could not get it > to mount A0000005 with any bconsole command. This is the format I tried: > Do you have the exact error? Did you try a simple mount. Or an update slots followed by a mount? > > mount <then select either VXA or Auto from the list?> > > mount storage=Auto slot=5 > > However, I could go to the shell prompt, execute ./mtx-changer /dev/sg1 load > 5 /dev/nst0 0 to get the tape into the drive, then issue a mount command from > within bconsole.
You should never have to do that. > I recall being able to mount tapes from bconsole when I was testing this > setup, so I was confused by this. Also, I had thought that, being an > 'autoloader', this setup would automatically span tapes when necessary (fill > one tape, then autoatically remove it, load and mount the next one). Have I > been laboring under a misconception here? > Under normal operation Bacula does load tapes on autochangers without any intervention. Did you label all of your tapes in the changer using the label barcodes command? Do you always issue an update slots every time you have removed or added tapes? Can you next time post some of the output of bconsole as it is hard to tell what went wrong from your post. > > Incidentally, I just noticed that, in the bacula-dir.conf storage resource > above, the Auto resource media type has no quotes around it, but the VXA > resource's media type does. An oversight on my part, surely, but does it make > any difference? Bacula certainly never complains about a syntax error. > I seriously doubt this has anything to do with the issue. John ------------------------------------------------------------------------- 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