Bacula-users

Re: [Bacula-users] Autochanger Tape Library Problem

2013-02-08 04:38:21
Subject: Re: [Bacula-users] Autochanger Tape Library Problem
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Jürgen Ecker <trexman AT gmx DOT de>
Date: Fri, 8 Feb 2013 10:35:08 +0100
Hello,

2013/2/8 "Jürgen Ecker" <trexman AT gmx DOT de>
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
radoslaw AT korzeniewski DOT 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>