Bacula-users

Re: [Bacula-users] Autochanger with 2 drives

2014-06-07 08:21:45
Subject: Re: [Bacula-users] Autochanger with 2 drives
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Date: Sat, 7 Jun 2014 09:18:26 -0300
Hi Kern,

I've seen some people having problems with the syntax used by Ankush and he confirmed that the second one worked fine for him. Don't know why... Recent versions of Bacula, but the first syntax does not work...

Regards,
Ana


On Sat, Jun 7, 2014 at 8:27 AM, Kern Sibbald <kern AT sibbald DOT com> wrote:
Yes, Ana, both syntaxes of entering Device names should work fine.

Regards,
Kern


On 06/06/2014 05:35 PM, Ana Emília M. Arruda wrote:
Hi Ankush,

I´m not sure about the above configuration is correct or no:

Autochanger {
..
  Device = Drive-1
  Device = Drive-2
..
}

It´s much more common to see like this:

Device = Drive-1, Drive-2

Could you test this?

Regards,
Ana


On Fri, Jun 6, 2014 at 6:35 AM, More, Ankush <ankush.more AT capgemini DOT com> wrote:

Hi Ana and All,

 

Please find attached bacula-dir and bacula-sd config files.

I have define drive index in sd file.

 

Thank you,

Ankush.

 

From: Ana Emília M. Arruda [mailto:emiliaarruda AT gmail DOT com]
Sent: 06 June 2014 02:16
Cc: Bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Autochanger with 2 drives

 

Hi Timo,

 

I thought that too... But you can see that bacula is asking for the correct drives. When asked for status, it says Drive-1 <=> drive 0 and Drive-2 <=> Drive 1. Am I misunderstooding this?

 

Device "Drive-1" (/dev/st0) is mounted with:
..

    Slot 3 is loaded in drive 0.
..

Device "Drive-2" (/dev/st1) is not open.
    Drive 1 status unknown.

 

Regards,

Ana

 

On Thu, Jun 5, 2014 at 5:32 PM, tballin <t.ballin AT studiorakete DOT de> wrote:

Hi,

I can just make a guess:

You are missing the "|||Drive Index = ||n" in your device
definitions.||If you dont define a drive index only the first device
will work because the mtx changer script needs a device index.
Hard to spot since (afaik) it not used in any examples. At least thats
what happend to me today.
|
Timo


On 06/05/2014 07:50 PM, More, Ankush wrote:
> Hi,
>
> I have bacula 5.0 installed on Centos 6.5.
> Tape Library with 2 Drives, which I define in autochanger.
> But at a time I can mount only one tape in drive (/dev/st0).
> When I try to label tape for second tape drive, it failed.
> Second drive(/dev/st1) show as "status unknown".
>
> How can I use both drive simultaneously? Or there is limitation in bacula 5.0
>
>
> Below is output of bconsole --> status
>
> Device status:
> Autochanger "MSL6030" with devices:
>     "Drive-1" (/dev/st0)
>     "Drive-2" (/dev/st1)
> Device "FileStorage" (/mybackup) is not open.
> Device "Drive-1" (/dev/st0) is mounted with:
>      Volume:      Tape2
>      Pool:        TapeBkp
>      Media type:  LTO-2
>      Slot 3 is loaded in drive 0.
>      Total Bytes=774,144 Blocks=11 Bytes/block=70,376
>      Positioned at File=5 Block=0
> Device "Drive-2" (/dev/st1) is not open.
>      Drive 1 status unknown.
> ====
>
> Used Volume status:
> Tape2 on device "Drive-1" (/dev/st0)
>      Reader=0 writers=0 devres=0 volinuse=0
> ====
>
>
> Thank you,
> Ankush More
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>

> ____ ESET 9878 (20140602) ____
> The message was checked by ESET Mail Security.
>


--
STUDIO RAKETE GmbH
Timo Ballin, System Administration
Schomburgstr. 120
D - 22767 Hamburg

t.ballin AT studiorakete DOT de
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99

------------------------------------------------------
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:

STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg

www.studiorakete.de / info AT studiorakete DOT de

Geschaeftsfuehrerin: Jana Bohl

Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817



____ ESET 9878 (20140602) ____
The message was checked by ESET Mail Security.



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users