Hello,
On 3/10/2006 10:29 AM, Gavin Conway wrote:
Hi,
I'm seeing the same problem using a very similar script. Also using
Debian Sarge 3.1 with the latest version of Bacula. I think this is more
to do with Bacula not having finished with the tape drive when the
script runs.
If anyone knows how this goes let me know.
If you are right with your suspicion, you could wait for the tape to
become available before executing the commands. In the mtx-changer
script, there's a function wait_for_drive which you could use as a
template. Basically, it checks if the drive is ready, and if it isn't it
waits some time and loops.
Arno
Thanks,
Gavin
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users