Hello,

I'm having a peculiar problem with an IBM Ultrium 3581 autochanger and the
SD daemon.  I have to restart the SD daemon after I unmount a tape, or the
next job hangs and never starts.

We currently have a single LTO2 drive in the library, and are running Bacula
2.2.5 on a Redhat Enterprise Linux 4 update 5 IBM server.  I ran all the
btape tests, including the multiple tape test for autochangers, and they all
worked flawlessly.  Not a single problem or error reported.  I am able to
use the mtx script and mt successfully as well.  Mtx reports all the proper
tapes in the library, and I can mount a tape and WEOF and REWIND it using
mt.  Things look great at this point.  Next, I ran "label barcodes" and it
labeled all the tapes in the library properly.  Again, no problems.  I
decided at this point to modify the "Full OS Set" backup for our environment
and run some tests.  I can successfully run the backup the first time.  It
pulls a tape from the proper pool inside the library, backup works.  But if
I unmount the tape in bconsole, and try and run the same backup again, it
hangs.  Nothing happens.  I have waited several hours and nothing ever times
out.  I finally have to cancel the job manually.  I discovered that by
restarting bacula-sd that I can then re-run the job immediately without any
problems.

I'm not sure what could be causing this, or how to even troubleshoot.
Things seem to work great during all tests and doing a backup, Bacula just
doesn't like it when I unmount a tape manually.

Could someone offer some advice or debugging steps I could take to figure
this out?  Below is a copy of my bacula-sd.conf file.  I can post other
config files if I need to.  Thanks

Jay


---- bacula-sd.conf ---

Storage {
  Name = server1-sd
  SDPort = 9103
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
  SDAddress = 192.168.1.20
}

Director {
  Name = server1-dir
  Password = "xxxx1234xxxx"
}

Director {
  Name = server1-mon
  Password = "xxxx1234xxxx"
  Monitor = yes
}

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /tmp
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

Autochanger {
  Name = Autochanger
  Device = Drive-0
  Changer Device = /dev/sg1
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}

Device {
  Name = Drive-0
  Drive Index = 0
  Media Type = LTO2
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no
  AutoChanger = yes
}

Messages {
  Name = Standard
  director = server1-dir = all
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to