Hi,
I'm new to bacula.
I looked in the manual and the mailing list but didn't find a solution.
I'm using bacula 1.36.3 on a debian sarge system. Connected to the
system is a exabyte 221L with one IBM LTO-1 drive.
I got jobs scheduled which run fine. When there is no tape in the drive
it loads the tape. But sometimes when a job starts it keeps waiting for
a tape in the drive (there isn't one) and fails after a while saying:
<message>
BackupCatalog.2006-02-15_01.10.00 Fatal error: device.c:317 Unable to
open device /dev/nst0. ERR=dev.c:289 stored: unable to open device
/dev/nst0: ERR=Input/output error
15-Feb 03:07 fs2-fd: BackupCatalog.2006-02-15_01.10.00 Fatal error:
job.c:1665 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data
</message>
It didn't issue the 'mtx-changer loaded' and 'mtx-changer loaded'
commands, which, i think, it should have.
Anyone an idea why this is done?
Underneath the device resource for the exabyte.
<in bacula-sd.conf>
# EXABYTE 221L tape changer with IBM LTO-1 drive
Device {
Name = EXABYTE
Media Type = LTO-1
Archive Device = /dev/nst0
AutomaticMount = no; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Changer Device = /dev/sg2
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Maximum Changer Wait = 120 seconds
}
</in bacula-sd.conf>
--
Best regards,
Marc Cuypers
-------------------------------------------------------
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