Hello,

2013/12/4 Ana Emília M. Arruda <emiliaarr...@gmail.com>

> Hi Richard,
>
> There are some mistakes about the storage definition in your confs.
> Considering you have an autochanger, I will put here a suggestion:
>
> bacula-dir.conf:
>
> Storage {
>   Name = micd3.gbr.hp.com-sd
>   Address = micd3.gbr.hp.com                # here is your host name
> where is your bacula-sd running.
>   SDPort = 9103
>   Password = "LZmffqI8xfbnpj5T88tB+r+tPTQI/9Z2FFPrLqrNxOl0"
>   Device = LTO-6-1            # the same name you have in bacula-sd.conf
> for Device Name (not Autochanger Name)
>   Media Type = LTO-6
>

For my best knowledge it could be wrong.


>   Autochanger = yes
>

If you add Autochanger = yes then at your Device above you should put
autochanger name (LTO-6-Autochanger in your example).


> }
>
>
> bacula-sd.conf:
>
> Autochanger {
>   Name = LTO-6-Autochanger
>

It should be valid bacula-dir.conf->storage->device name.


>   Device = LTO-6-1
>   Changer Command = "/opt/bacula/bin/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg0                  # supposing it is /dev/sg0
> from your config: Changer Device = /dev/sg0
> }
>
> Device {
>   Name = LTO-6-1
>   Media Type = LTO-6
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Maximum File Size = 5GB
>   AutoChanger = yes
> }
>
>
Regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to