Re: [Bacula-users] bacula does not recognizes any slots of an ADIC-1200G
2013-03-05 16:36:28
On Mar 5, 2013, at 3:52 PM, Tilman Gloetzner wrote:
> Hello
>
> Distribution: Ubuntu 12.04
>
> Issue: Bacula does not properly recognize the 12 tape slots of the
> ADIC-1200 G.
>
> Details:
> 1)
> *update slots scan
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 0 slots.
> No slots in changer to scan.
>
> 2) If I start bacula-sd directly, it works
> # service bacula-sd stop
> * Stopping Bacula Storage
> daemon... [ OK ]
> # /usr/sbin/bacula-sd
> # bconsole
> Connecting to Director 127.0.0.1:9101
> *update slots scan
> ...
> Connecting to Storage daemon TapeStorage2 ...
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 12 slots.
>
> 3) I would think of a permission problem. The file permissions seem
> however not be related to this issue.
> # ls -la /dev/sg0
> crw-rw---- 1 root tape 21, 0 Mar 5 19:14 /dev/sg0
> # ls -la /etc/bacula/scripts/mtx-changer
> -rwxr-xr-x 1 bacula bacula 7524 Mar 2 11:14 /etc/bacula/scripts/mtx-changer
> # chmod 0666 /dev/sg0
> # service bacula-sd start
> * Starting Bacula Storage
> daemon... [ OK ]
> # beconsole
> *update slot scan
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 0 slots.
> No slots in changer to scan.
> '
It may be permissions. I documented how I got my mtx-changer stuff to work:
http://www.freebsddiary.org/tape-library.php
http://www.freebsddiary.org/tape-library-integration.php
It's the permissions that get you, and they aren't where you may think they
are.
--
Dan Langille - http://langille.org
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|