Bacula-users

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

2012-11-15 14:54:56
Subject: Re: [Bacula-users] How to specify drive of Autochanger?
From: Dan Langille <dan AT langille DOT org>
To: Wolfgang Denk <wd AT denx DOT de>
Date: Thu, 15 Nov 2012 14:51:07 -0500
On Nov 15, 2012, at 2:27 PM, Wolfgang Denk wrote:

> Dear John,
> 
> In message <CAEhu1-44eHePjuZFfXMR8vbqowrdbmKoMSwy7J-4S0XsgpVkFQ AT mail.gmail 
> DOT com> you wrote:
>> 
>> Yes. The robot works on all 3 devices.
> 
> 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.

FYI here is what I wrote up about debugging mtx-changer.

http://www.freebsddiary.org/tape-library.php (look for: Does mtx-changer work?)

-- 
Dan Langille - http://langille.org


------------------------------------------------------------------------------
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