I was able to get the mtx-changer script working correctly. I used the
solaris-mtx-changer from the examples as a starting point. Then to work with
the Magnum 224 and Solaris make a few changes

-added a correct PATH statement for my system
-Solaris doesn't have "seq" command, replaced seq in the wait_for_drive
function with a perl statement
-there are some commands that won't work (unload), unless the tape device is
specified. I set this to a default, but still allow it to be set on command
line too
-changed the awk/sed statements for the list command to be compatible with a
slot that is of type IMPORT/EXPORT

Everything seems cool now. I do have one very important question:

In the statement for the "unload" command, there is the following:
mt -f $device rewoffl

If I am using tapes to perform incremental backups, should I be rewinding
the tape in the drive before unloading it to load another tape. If its
loaded again, will it being rewound previously cause bacula to overwrite
files on the tape? I don't believe so, but hopefully someone can answer that
for sure.

Thanks
Shon

On 6/28/07, John Drescher <[EMAIL PROTECTED]> wrote:

I have a Magnum224 with 24 slots and 2 LTO2 drives but I am using linux
and not Solaris.  For that I did not have to change anything in the default
mtx scripts as it works correctly. I believe the numbering is one slot off
though but it does not matter. When I do a manual unload I verify the slot
from the screen on the changer itself. I will try to answer the questions I
can. One thing I would like to mention is that I am using bacula 2.X now.
I mention that because I had a serious problems with 1.38.X and my
changer.


> So everything is back to normal, but I still have a few questions
>
> How can I get mtx-changer to display the status of all my slots
> correctly?
> Is the format that mtx-changer is displaying the status of a loaded
> drive correct?
> Does it matter to bacula that I had to use the full command to unload
> the drive?
> Will Bacula know what storage element is in the drive and to move it
> back to the correct slot?


For me bacula always puts the tape back into the stot it took it from. I
have never tried manuall loading a tape there and seeing what would happen
for an unload.

How do I change tapes and update inventory?


Use the release command in bacula to release any tape from the drive. Then
change the tapes manually on the changer. I recommend doing that by
unloading the magazines. Then after you are done with the manual stuff. type
update slots in a bacula console.


I was considering keeping a cleaning tape in slot 12, will this interfere
> with Bacula at all? Can I schedule cleaning operations with Bacula?


This is fine. I have a CLN_XXXX barcode on my cleaning tape and in my
pools I have

Cleaning Prefix = "CLN"

so that bacula recognizes that as a cleaning tape.

Any responses, or wilingness to share some mtx-changer magic is very
> appreciated. Also if you've used any replacement for mtx or mtx-changer and
> want to share the experience that would be great!



John



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to