Re: [Bacula-users] update slots reports Autochanger has 0 slots
2014-12-05 05:27:00
Hi Ana,
in my case (a very, very dumb fault), the path in "changer command" was wrong. No error messages
hab been displayed, just the "Autochanger has 0 slots".....
br,
christian
Von: Süleyman Kuran [mailto:skuran AT ayk.gov DOT tr]
Gesendet: Freitag, 05. Dezember 2014 10:02
An: Ana Emília M. Arruda
Cc: bacula-users AT lists.sourceforge DOT net
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots
What I recently experienced was "Autochanger has 0 slots" error when "AutoChanger = yes" line is missing in Device directive in bacula-sd.conf with Centos 6 and Bacula 5.2.13
Kimden:
"Ana Emília M. Arruda" <emiliaarruda AT gmail DOT com>
Kime: "Rainer Hackel" <rainer.hackel AT degnerpartner DOT com>
Kk: "Süleyman Kuran" <skuran AT ayk.gov DOT tr>, "Can Şirin" <sirincan AT itu.edu DOT tr>,
bacula-users AT lists.sourceforge DOT net
Gönderilenler: 4 Aralık Perşembe 2014 23:35:37
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots
Can you try changing Device Name? You have Name and Media Type using the same "LTO-5". Bacula doesn´t work fine when you use the same name for different things. If you could, I
recommend you setting name with "Drive-0" or something like this:
On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel <rainer.hackel AT degnerpartner DOT com> wrote:
Hi Süleyman,
this is the current definition:
Autochanger {
Name = Autochanger
Device = LTO-5
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/changer
}
Device {
Name = LTO-5
Drive Index = 0
Media Type = LTO-5
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Spool Directory = /data/bacula-spool
Maximum File Size = 12GB
Maximum Spool Size = 3200G
# Maximum Block Size = 2000000
}
Do you have an other idea?
Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|