Re: [Bacula-users] Autochanger Tape Library Problem

2013-02-08 Thread Jürgen Ecker
Thanks Guys!

 Original-Nachricht 
> Datum: Fri, 08 Feb 2013 09:50:07 +0100
> Von: "Jürgen Ecker" 
> An: bacula-users@lists.sourceforge.net
> Betreff: [Bacula-users] Autochanger Tape Library Problem

> Hi,
> 
> if i start a job in bacula which should write to a tape library, then i
> get the following error.
> 
> Fatal error: Device reservation failed for JobId=83: 1998 Volume
> "VolServer-0374" status is Append, not in Pool.
> 
>  Storage daemon didn't accept Device "Tape" because:
>  3924 Device "Tape" not in SD Device resources.
> 
> Here my configs:
> 
> bacula-dir.conf
> 
> Storage {
>   Name = Autochanger
>   Address = 10.0.0.10
>   SDPort = 9103
>   Password = "password"
>   Device = Tape
>   Autochanger = yes
>   Media Type = LT0
> }
> 
> Pool {
>   Name = Tape
>   Pool Type = Backup
>   Recycle = yes  
>   AutoPrune = yes
>   Volume Retention = 28 days
>   Maximum Volume Bytes = 4G 
>   Maximum Volumes = 1000
> }
> 
> bacula-sd.conf
> 
> Autochanger {
>   Name = Tape
>   Device = LTO-4
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg3
> }
> 
> Device {
>   Name = LTO-4
>   Drive Index = 0
>   Media Type = LTO
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;   # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Label Media = no
> }
> 
> I think that the configs are OK. Where is the failure.
> 
> Thanks for help!
> 
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger Tape Library Problem

2013-02-08 Thread Radosław Korzeniewski
Hello,

2013/2/8 "Jürgen Ecker" 

> Hi,
>
> if i start a job in bacula which should write to a tape library, then i
> get the following error.
>
> Fatal error: Device reservation failed for JobId=83: 1998 Volume
> "VolServer-0374" status is Append, not in Pool.
>
>  Storage daemon didn't accept Device "Tape" because:
>  3924 Device "Tape" not in SD Device resources.
>
> Here my configs:
>
> bacula-dir.conf
>
> Storage {
>   Name = Autochanger
>   Address = 10.0.0.10
>   SDPort = 9103
>   Password = "password"
>   Device = Tape
>   Autochanger = yes
>   Media Type = LT0
> }
>

This is Media Type LT"Zero"


>
> Pool {
>   Name = Tape
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 28 days
>   Maximum Volume Bytes = 4G
>   Maximum Volumes = 1000
> }
>
> bacula-sd.conf
>
> Autochanger {
>   Name = Tape
>   Device = LTO-4
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg3
> }
>
> Device {
>   Name = LTO-4
>   Drive Index = 0
>   Media Type = LTO
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;   # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Label Media = no
> }
>

Here we have Media Type LTO, which did not match above definitions.

Please correct it and check again.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users