On 5/29/23 23:11, Dr. Thorsten Brandau wrote:
Hi

not sure if any bacula developers are in this list but I just wanted to let you 
know that with my Neo24s Tapelib the
mtx-changer script is not working. It does not detect the end of the change 
process.

There is a line in the script

wait_for_drive $device

As long as this is there I run into timeouts changing the drive.

When I comment this line, it works (there is an error message in the log but 
that is no problem - basically it gets a timeout
but the tape changed).

No amount of time for the timeout worked, so there must be somehow a problem 
with the return message from the drive or the
script.

Maybe someone else runs into this problem, so thats a solution.

Cheers

T

Hello Thorsten,

You have very good timing...

If you are interested, I am just about to publicly release a drop-in 
replacement for the default mtx-changer script, and
maybe you'd like to try
it and give me some feedback from a real-world environment.

The script is written in Python, has much better logging when debug is enabled, 
and has the ability to set a debug_level to
log just what you want/need to see.

Additionally, I have added a pretty much fully automatic tape drive cleaning 
feature which can test a drive with `tapeinfo`
after a successful unload, and automatically locate cleaning tapes, load one, 
wait, and then unload it... Of course since
this happens while the SD is waiting on a successful unload, it will add time 
to the process, and timeouts will have to be
tuned for your individual environment.

So far I have only tested with mhVTL and everything is working fine. I plan to 
move testing to our lab environment which has
a real HP library, so I will have more real feedback.

If you are interested in beta testing, please DM me. If you have a github 
account please let me know so I can allow you
access to the repository before it is made publi
c.


Best regards,
Bill

--
Bill Arlofski
w...@protonmail.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to