Bacula-users

Re: [Bacula-users] multiple mtx-changer scripts

2008-07-22 11:14:12
Subject: Re: [Bacula-users] multiple mtx-changer scripts
From: "Timo Neuvonen" <timo-news AT tee-en DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 22 Jul 2008 18:13:17 +0300
"Mark Nienberg" <gmane AT tippingmar DOT com> kirjoitti viestissä 
news:g639d0$6k3$1 AT ger.gmane DOT org...
> I'd like to be able to use a different version of the mtx-changer script 
> when I use
> bconsole than the one I assigned to the "Changer Command" in 
> bacula-sd.conf.  I guess
> I can script a wrapper for bconsole to rename the mtx-changer scripts as 
> needed and
> then change them back afterward.  Or I could write a script to run before 
> and after
> scheduled jobs to do the same thing.  But if anyone has a better idea I'd 
> like to
> hear it.  Ideal solution would be if the mtx-changer script could 
> recognize if it is
> being called from bconsole vs a bacula backup or restore job.
>
> Thanks,
>
> Mark
>
> P.S. Why?  Because I have modified the "load" command to use "btape" to 
> read the
> bacula label on the volume after loading it.  If it fails, then it unloads 
> and
> reloads the tape and tries again. This is an attempt to automatically fix 
> the I/O
> problem that happens about 10-20% of the times bacula changes a tape in 
> the middle of
> a backup.  Note that it is not a timing problem.  It happens even after
> "wait_for_drive" returns ready.  Obviously, when working at bconsole, 
> there are some
> commands that I have to perform on tapes that have no labels, so I need a 
> different
> "load" command.  But don't get bogged down thinking about all this, just 
> think about
> the question above, OK?
>

Could you tell something more about this problem, what hardware you have 
etc?

I have experienced some, possibly similar problems with Exabyte 1U 10 tape 
autochanger. No way to reproduce the problem, but happens quite often when 
tapes need to be changed in real work :-(

Regards,
Timo 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users