Hello,
On 03.10.2005 22:29, Tom Boyda wrote:
Hello,
I ran into an issue over the weekend where my tape library didn't know
which slot to return a tape in the drive. I have a Qualstar RLS-8236
tape library - 2 LTO tape drives 36 tape slots.
I believe mtx -f ... status for the drives returned "Unknown Storage
Element" so when mtx-changer asked, the changer didn't know where to
return the tape.
Now bacula knew the tapes went into slots 1 and 6 because the volume
entry in the DB said the tapes should be in slots 1 and 6.
My question is - How can I get bacula to put the tape into the correct
slot when the library doesn't know (remember) which slot it came from?
Is there something that can be done to the mtx-changer script so that it
can return the tape to the correct slot?
Nothing simple I fear.
The "right" solution would be that bacula before unloading a tape always
verifies that the slot it has in the catalog is actually free and passes
that slot as an argument to mtx-changer.
In other words - code changes.
One other solution could perhaps be done externally to bacula, but still
requires lots of new code. Basically, call the mtx-changer script with a
parameter representing the tape name or the slot it should go to.
(By the way: Is there in the manual a reference of all the variables
that can be used, and where they are valid? I couldn't find one.)
Then, query the autochanger if the requested slot is available right
now. If it is, unload to that slot.
If the slot is not available, select another one and update the catalog
accordingly.
Thank you in advance for your help and pointers.
Not much help if you want a solution now...
Arno
Tom.
----
Thomas Boyda
Consultant
Daou Systems, Inc.
[EMAIL PROTECTED]
276-739-2314
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users