On Thu, Nov 15, 2012 at 11:49 PM, John Drescher <dresche...@gmail.com> wrote: > On Thu, Nov 15, 2012 at 2:10 PM, Wolfgang Denk <w...@denx.de> wrote: >> Dear Dan, >> >> In message <e806e459-054c-4fb7-88d2-142c35a4f...@langille.org> you wrote: >>> >>> > I must be missing something very basic. I can address both drives in >>> > my autoloader directly. But when using the autoloader device, it >>> > always grabs device 0 only, like this: >>> > >>> > Storage server xxx - bacula-sd.conf: >>> > >>> > Autochanger { >>> > Name = Autochanger >>> > Device = LTO3-0 >>> > Device = LTO3-1 >>> > Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" >>> >>> I would start by debugging this script: /usr/libexec/bacula/mtx-changer >>> >>> Make sure it is passing the correct values to the robot. >> >> This works like a charm. When I use the single drives directly (i. e. >> through the names "LTO3-0" resp. "LTO3-1", I can see that the last >> argument (%d) receives the correct drive index, and this does exactly >> what it is supposed to do. >> >> However, no matter what I enter at the prompt "Enter autochanger >> drive[0]:", the director will always send a command to access drive >> index 0. > > Where do you get this prompt? I have never ever been asked this and I > have had an autochanger at work since 2006 and I used it with bacula > from the start since I was already using bacula for years before I got > the changer..
Although this could be because I use the autochanger in an unsupported way. What I mean is in my bacula-dir.conf I have a device for the autochanger and devices for each drive instead of just the autochanger device. John ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users