Bacula-users

Re: [Bacula-users] How to specify drive of Autochanger?

2012-11-16 00:53:44
Subject: Re: [Bacula-users] How to specify drive of Autochanger?
From: John Drescher <drescherjm AT gmail DOT com>
To: Wolfgang Denk <wd AT denx DOT de>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 15 Nov 2012 23:49:54 -0600
On Thu, Nov 15, 2012 at 2:10 PM, Wolfgang Denk <wd AT denx DOT de> wrote:
> Dear Dan,
>
> In message <E806E459-054C-4FB7-88D2-142C35A4FD6B AT langille DOT 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..

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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users