On 21 Feb 2006 at 8:51, Jason Martin wrote:

> I'm having a little trouble with a Scalar Adic 24 tape library.
> It seems that most backups hiccup on a tape change where the
> loaded command times out.  Executing 'mount' in the console
> resolves the issue the vast majority of the time, and the rest
> of the backup & tape changes work without incident. However,
> since nobody wants to have to get up at night to do this, it is
> not optimal.  Are there any suggestions on how to avoid these
> timeouts, or at least have an automated retry?
> 
> The log and device config is below. 
> Linux ... 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 athlon i386 
> GNU/Linux
> Bacula v1.36.3
> 
> QLogic Fibre Channel HBA Driver: 8.01.00b5-rh2
> 
> <several tape changes that work, then this:>
> somehost-dir: Recycled volume "000024"
> somehost-sd: 3301 Issuing autochanger "loaded drive 0" command.
> somehost-sd: 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited 
> with code 1.
> somehost-sd: 3304 Issuing autochanger "load slot 2, drive 0" command.
> somehost-sd: 3992 Bad autochanger "load slot 2, drive 0": ERR=Child exited 
> with code 1.
> somehost-sd: Please mount Volume "000024" on Storage Device "Drive0" for Job 
> DR_somehost.com.2006-02-17_11.12.26
> <significant delay until a human executes "mount" >
> somehost-sd: DR_somehost.com.2006-02-17_11.12.26 Warning: Director wanted 
> Volume "000024".
>     Current Volume "000009" not acceptable because:
>     1998 Volume "000009" status is Used, but should be Append, Purged or 
> Recycle.
> somehost-sd: 3301 Issuing autochanger "loaded drive 0" command.
> somehost-sd: 3302 Autochanger "loaded drive 0", result is Slot 7.
> somehost-sd: 3303 Issuing autochanger "unload slot 7, drive 0" command.
> somehost-sd: 3304 Issuing autochanger "load slot 2, drive 0" command.
> somehost-sd: 3305 Autochanger "load slot 2, drive 0", status is OK.
> 
> Device {
>   Name = Drive1
>   Media Type = ULTRIUM-TD3
>   Archive Device = /dev/nst1
>   Drive Index = 0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg4
>   AutoChanger = yes
>   Spool Directory = /data/backups
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }

It sounds like you need to do some testing with your autochanger:

http://www.bacula.org/dev-manual/Autochanger_Support.html

Look for "Testing the Autochanger and Adapting Your mtx-changer 
Script"

You might just need a "sleep 10" etc.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




-------------------------------------------------------
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