Hello,

On 2/10/2006 12:14 PM, Ante Karamatic wrote:
Hi!

I have a year of expirience with Bacula (with HP SureStore), so I was confused when this happend on HP Ultrium-2/LTO :/

I compiled bacula on Itanium from src.rpm (latest version on sourceforge) without gnome (gconsole), with O2 and later with O0 optimizations. Operating system in RHEL3.

In mtx-changer I had to enable mt -f /dev/nst0 offline in unload function, since tape drive would throw some errors without it.

Manualy loading tapes with mtx-changer works, so is unloading or loaded functions. Of course, with mtx (directly) it works too.

But, if I try to label a tape with bacula, it refuses to load tape in drive. If I load it manualy (with mtx or mtx-changer), bacula labels it, checks and reports what's loaded and unloads drive when I try to label another driver. After unloading labeled tape, it again dies to label another one. It just reports that nothing is loaded in drive.

You need the new Autochanger section in bacula-sd.conf.

Arno


I tried with debug function in mtx-changer and noticed that bacula never runs load function in mtx-changer. It runs loaded, unload, but never load.

Here are my configs:

bacula-sd.conf (relevant part):

Device {
 Name = Ultrium
 Media Type = Ultrium
 Archive Device = /dev/nst0
 Automatic Mount = yes
 Always Open = no
 Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
 Changer Device = /dev/sg2
 AutoChanger = yes
 Removable Media = yes
 Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAlert|cat'"
}

bacula-dir.conf (relevant part):

Storage {
  Name = Ultrium
  Autochanger = yes
  Address = hostname
  SDPort = 9103
  Password = ""
  Device = Ultrium
  Media Type = Ultrium
}


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to