First the background info:

# dpkg -l | grep bacula
hi  bacula-common  1.36.1-1       Network backup, recovery and verification (C
hi  bacula-console 1.36.1-1       Network backup, recovery and verification (M
hi  bacula-directo 1.36.1-1       Network backup, recovery and verification (D
hi  bacula-directo 1.36.1-1       Network backup, recovery and verification (D
hi  bacula-fd      1.36.1-1       Network backup, recovery and verification (F
hi  bacula-sd      1.36.1-1       Network backup, recovery and verification (S

On Ubuntu Hoary.

The Director is having problems rotating tapes in my OverlandLTO
changer. See the following error messages from the console:

20-Jun 10:43 backup.am.internal-sd: thing2.am.internal.2005-06-20_10.42.42 
Warning: Director wanted Volume "bacula-linux-13".
    Current Volume "bacula-linux-12" not acceptable because:
    1998 Volume "bacula-linux-12" status is Full, but should be Append, Purged 
or Recycle.
20-Jun 10:43 backup.am.internal-sd: 3301 Issuing autochanger "loaded drive 0" 
command.
20-Jun 10:43 backup.am.internal-sd: 3991 Bad autochanger "loaded drive 0" 
command: ERR=Child exited with code 1.
20-Jun 10:43 backup.am.internal-sd: 3304 Issuing autochanger "load slot 13, 
drive 0" command.
*
20-Jun 10:43 backup.am.internal-sd: 3992 Bad autochanger "load slot 13, drive 
0": ERR=Child exited with code 1.
20-Jun 10:43 backup.am.internal-sd: Please mount Volume "bacula-linux-13" on 
Storage Device "OverlandLTO" for Job thing2.am.internal.2005-06-20_10.42.42

This was working for months but broke when I went from Debian to Ubuntu
Hoary but kept the bacula packages intact by placing them on 'hold'. 

If I run the mtx-changer script by hand per the instructions here: 

http://www.bacula.org/rel-manual/Autochangers_Support.html#SECTION0002713000000000000000

everything checks out just fine. 

I've done a 'setdebug=100' for 'All' and 'auto on' in the console but
I'm not getting any additional information that indicates why the tape
rotation is failing.

Here is my some more relevant information from the Storage daemon
configs:

Device {
  Name = OverlandLTO
  Media Type = LTO-2
  Archive Device = /dev/nst0
  Changer Device = /dev/sg1
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Autochanger = yes
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
}



-- 
---
Nathan Valentine, CISSP - [EMAIL PROTECTED]
Open Source Technician
Venn Technologies, Inc. : http://www.venntech.net

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to