Bacula-users

[Bacula-users] Autochanger Tape Library Problem

2013-02-08 03:52:50
Subject: [Bacula-users] Autochanger Tape Library Problem
From: "Jürgen Ecker" <trexman AT gmx DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 08 Feb 2013 09:50:07 +0100
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>