Re: [Bacula-users] update slots reports Autochanger has 0 slots
Hello, Some place in the manual, there is a checklist of what to do before putting something into production. Though it doesn't explicitly say this, it should also be used if you change some significant component such as the Autochanger. One of the tests is to run btape and specifically the "test" and "autochanger" commands. Doing that would very likely have identified the problem. Unfortunately this advice is too late to help you, but hopefully it can help someone in the future. Best regards, Kern On 12/05/2014 11:24 AM, Masopust, Christian wrote: 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:sku...@ayk.gov.tr] Gesendet: Freitag, 05. Dezember 2014 10:02 An: Ana Emília M. Arruda Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Ana, 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 Best regards, Suleyman Kimden: "Ana Emília M. Arruda" emiliaarr...@gmail.com Kime: "Rainer Hackel" rainer.hac...@degnerpartner.com Kk: "Süleyman Kuran" sku...@ayk.gov.tr, "Can Şirin" sirin...@itu.edu.tr, bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 23:35:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Rainer, 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: Autochanger { Name = Autochanger Device = Drive-0 Device { Name = Drive-0 Drive Index = 0 Media Type = LTO-5 ... } Best regards, Ana On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel rainer.hac...@degnerpartner.com wrote: Hi Süleyman, this is the current definition: Autochanger { Name = Autochanger
Re: [Bacula-users] update slots reports Autochanger has 0 slots
Hello Ana, 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 Best regards, Suleyman - Orijinal Mesaj - Kimden: Ana Emília M. Arruda emiliaarr...@gmail.com Kime: Rainer Hackel rainer.hac...@degnerpartner.com Kk: Süleyman Kuran sku...@ayk.gov.tr, Can Şirin sirin...@itu.edu.tr, bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 23:35:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Rainer, 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: Autochanger { Name = Autochanger Device = Drive-0 Device { Name = Drive-0 Drive Index = 0 Media Type = LTO-5 ... } Best regards, Ana On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel rainer.hac...@degnerpartner.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 = 200 } Do you have an other idea? Rainer Von: Süleyman Kuran [mailto: sku...@ayk.gov.tr ] Gesendet: Donnerstag, 4. Dezember 2014 19:23 An: Can Şirin Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, Kimden: Can Şirin sirin...@itu.edu.tr Kime: bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. ( http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/ ) Quoting Rainer Hackel rainer.hac...@degnerpartner.com : blockquote Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users /blockquote -- 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=164703151iu=/4140
Re: [Bacula-users] update slots reports Autochanger has 0 slots
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:sku...@ayk.gov.tr] Gesendet: Freitag, 05. Dezember 2014 10:02 An: Ana Emília M. Arruda Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Ana, 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 Best regards, Suleyman Kimden: Ana Emília M. Arruda emiliaarr...@gmail.commailto:emiliaarr...@gmail.com Kime: Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com Kk: Süleyman Kuran sku...@ayk.gov.trmailto:sku...@ayk.gov.tr, Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr, bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 23:35:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Rainer, 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: Autochanger { Name = Autochanger Device = Drive-0 Device { Name = Drive-0 Drive Index = 0 Media Type = LTO-5 ... } Best regards, Ana On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.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 = 200 } Do you have an other idea? Rainer Von: Süleyman Kuran [mailto:sku...@ayk.gov.trmailto:sku...@ayk.gov.tr] Gesendet: Donnerstag, 4. Dezember 2014 19:23 An: Can Şirin Cc: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, Kimden: Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr Kime: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. (http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/) Quoting Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com: Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103http://192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.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
[Bacula-users] update slots reports Autochanger has 0 slots
Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces... here is one: update slots command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: /usr/libexec/bacula/mtx-changer /dev/changer slots reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Does user bacula have the permission to run mtx-changer, mtx and access the device node for the autochanger? John -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
Hi John, here the properties of the mentioned things: [root@s3 sbin]# ll mtx -rwxr-xr-x. 1 root root 49944 Aug 17 2010 mtx [root@s3 bacula]# ll mtx-changer -rwxr-xr-x. 1 root root 6681 Nov 21 2012 mtx-changer [root@s3 dev]# ll changer lrwxrwxrwx. 1 root root 3 Dec 2 09:38 changer - sg1 [root@s3 dev]# ll sg1 crwxrwxrwx. 1 root tape 21, 1 Dec 2 09:38 sg1 I think everyone has rights for execute and read. I was also looking for an access-rights problem, but have not found one. Any idea? thanks in advance Rainer -Ursprüngliche Nachricht- Von: John Drescher [mailto:dresche...@gmail.com] Gesendet: Donnerstag, 4. Dezember 2014 15:17 An: Rainer Hackel Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Does user bacula have the permission to run mtx-changer, mtx and access the device node for the autochanger? John -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. (http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/) Quoting Rainer Hackel rainer.hac...@degnerpartner.com: Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, - Orijinal Mesaj - Kimden: Can Şirin sirin...@itu.edu.tr Kime: bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. (http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/) Quoting Rainer Hackel rainer.hac...@degnerpartner.com : Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
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 = 200 } Do you have an other idea? Rainer Von: Süleyman Kuran [mailto:sku...@ayk.gov.tr] Gesendet: Donnerstag, 4. Dezember 2014 19:23 An: Can Şirin Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, Kimden: Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr Kime: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. (http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/) Quoting Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com: Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
Hello Rainer, 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: Autochanger { Name = Autochanger Device = Drive-0 Device { Name = Drive-0 Drive Index = 0 Media Type = LTO-5 ... } Best regards, Ana On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel rainer.hac...@degnerpartner.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 = 200 } Do you have an other idea? Rainer *Von:* Süleyman Kuran [mailto:sku...@ayk.gov.tr] *Gesendet:* Donnerstag, 4. Dezember 2014 19:23 *An:* Can Şirin *Cc:* bacula-users@lists.sourceforge.net *Betreff:* Re: [Bacula-users] update slots reports Autochanger has 0 slots Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, -- *Kimden: *Can Şirin sirin...@itu.edu.tr *Kime: *bacula-users@lists.sourceforge.net *Gönderilenler: *4 Aralık Perşembe 2014 17:01:37 *Konu: *Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. ( http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/ ) Quoting Rainer Hackel rainer.hac...@degnerpartner.com: Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots reports Autochanger has 0 slots
All Problems seem to come from SELINUX (CentOS 6.6) The following modification in file /etc/sysconfig/selinux looks like a solution for the problems. changed SELINUX=enforcing to SELINUX=permissive There must have come any changes in SELINUX during the last yum update. Unfortunately I dont understand the SELINUX thing, so I can't refine the problem, but somehow it prevented the Bacula-Director to connect to the database as well as getting the slot information of the autochanger. THX @ Ana, Süleyman, Can and John Rainer Von: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com] Gesendet: Donnerstag, 4. Dezember 2014 22:36 An: Rainer Hackel Cc: Süleyman Kuran; Can Şirin; bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hello Rainer, 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: Autochanger { Name = Autochanger Device = Drive-0 Device { Name = Drive-0 Drive Index = 0 Media Type = LTO-5 ... } Best regards, Ana On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.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 = 200 } Do you have an other idea? Rainer Von: Süleyman Kuran [mailto:sku...@ayk.gov.trmailto:sku...@ayk.gov.tr] Gesendet: Donnerstag, 4. Dezember 2014 19:23 An: Can Şirin Cc: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots Merhaba Can, Maybe the Device directive in bacula-sd.conf, where the drives are defined, is missing AutoChanger = yes line. Regards, Kimden: Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr Kime: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots Hi, Check this posts: http://www.freebsddiary.org/tape-library.php http://www.freebsddiary.org/tape-library-integration.php Same issue were discussed before. (http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/) Quoting Rainer Hackel rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com: Hello Bacula users, Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them down in small pieces… here is one: “update slots“ command in bconsole says: Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at 192.168.1.15:9103http://192.168.1.15:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 0 slots. No slots in changer to scan. But: “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 Of course the Autochanger has 16 slots. Someone has an idea? Best regards Rainer -- 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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.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=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users