> I think you're right that Bacula tracks this itself too, but
> "mtx-changer /dev/ch0 loaded" is written to report the slot number
> that's loaded into the drive itself. This is also how Bacula
> interprets it. Anyway, I'll save my changes to this script until I've
> finished testing them.
>
> On another note, I've discovered that I jumped the gun when concluding
> that the sd hung without a tape. btape does indeed eat itself when the
> there's no tape, but the sd was apparently just waiting for the
> "Maximum Open Wait" window to expire before it would respond to status
> requests. After five minutes of this:
> ----
> *status storage
> Automatically selected Storage: Tape
> Connecting to Storage daemon Tape at 10.123.0.17:9103
> ----
>
> I finally got a reply. Decreasing this window to 30 seconds makes it a
> bit more palatable, though I have to test to make sure this isn't
> going to cause other problems.
>
That will likely make all changer loads fail. Because bacula will
terminate any load that takes longer than 30 seconds. I don't know
about your archive but mine takes at least 90 seconds to find a slot
grab the tape, put it in the drive and the drive to recognize the
tape.
John
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|