Hello,
I have an installation with Bacula 2.2.2 running on Solaris 10 x86 using an 
LTO3 Autoloader.
The backup policy has 6 tapes (mon->sat) labeled and already managed by the 
autoloader.
Every tape is recycled in time for reuse next week.
Everything works great.
Now, the customer requested to have multiple thursday tapes (5 tapes, each for 
any possible thursday during the month), so that an operator can change the 
tape every friday morning and take the tape home for more security.
The problem is that I need to help the operator as much as possible:
1) First, I modified the end_of_backup.sh (called on last catalog backup job) 
to unmount the loaded volume, so that every end of backup the slot 0 is empty, 
and every tape is inside its slot.
2) Now I would like to help the operator, so that she/he can run a simple 
command to let bacula eject the slot 5, then she/he can go to the LTO3 device 
and take the tape out.
3) Then, because of how the device works, I will need to teach her/him to 
operate the autoloader panel to insert the prelabeled tape 
(thu1,thu2,thu3....thu5) and let it place it into the now empty slot 5.
4) Last but not least, I will have a cron job every week running an update 
slots=5 scan to let Bacula be aware of the new tape.
Step 2 seems to be a problem: I cannot seem to let the autoloader eject the 
tape via commands.
Why? Many reasons
1) Because it is a library, AlwaysOpen=yes, so I cannot run mt commands while 
bacula is running
2) Running unmount or release always cause an unload of slot 0 into the 
original library slot, so I won't have the tape in slot 0 anymore
3) Running "mtx -f chg-device" operate even if Bacula is open, but the "eject" 
command doesn't work, giving "mtx:eject failed"
4) If I stop bacula while the tape is loaded on slot 0, then I can run mt -f 
tape-device offline, but this seems to do nothing on the autoloader (while it 
works fine on normal single LTO devices).
Do you have any tip on this? How can I let the operator change the thursday 
tape easily on a library?
Thanx a lot
Gabriele.
Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to