I have a SUSE Server + an HP tape library.
My Config seems to work well enough. However I can't seem to label anything. When I force labels on, IE, tape-1 slot 1, tape-2 slot 2, I end up with the label tape-1 through the whole array.
/etc/amanda/HPTapeLibrary> amlabel HPTapeLibrary HPTapeLibrary-09
labeling tape in slot 9 (tape:/dev/nst1):
Reading label...
Found Amanda tape ...
Did you resolve this? Seems weird. What version of Amanda are you using? I presume you configured the tape library so that you can move tapes around manually with mtx and that all works? Then you integrated that into your Amanda configuration, which is named HPTapeLibrary, using the chg-zd-mtx changer script? And confirmed that that works? Are you watching the changer and seeing what it is doing ...
After giving up, taking a breather and re-trying I found the issue.
The HP tape library has 2 tape drives, I was talking to drive 2 and it was putting tapes into drive 1.
So that brings up a follow-up question..
Does anyone have a working dual tape drive configuration?
Thanks
-Mike
I don't know the direct answer to that, but if you look at http://wiki.zmanda.com/man/amanda-changers.7.html and scan down to the middle where it talks about chg-rait, it mentions having two different chg-zd-mtx changers that access different tape drives. You might be able to figure something out from that. It could lead to a variety of other complications and confusion around Amanda's planner ...
Chris's suggestion is a good one, but rememeber that RAIT *stripes* (or mirrors) across drives, so while it will use both drives simultaneously, it will not schedule them separately.
Also, chg-zd-mtx will probably collide with itself; that is, it will try to load a tape into drive 1 while already loading a tape into drive 0. Chg-robot, in the next release, does a better job.
After giving up, taking a breather and re-trying I found the issue. The HP tape library has 2 tape drives, I was talking to drive 2 and it was putting tapes into drive 1. So that brings up a follow-up question.. Does anyone have a working dual tape drive configuration? Thanks -Mike
I don't know the direct answer to that, but if you look at http://wiki.zmanda.com/man/amanda-changers.7.html and scan down to the middle where it talks about chg-rait, it mentions having two different chg-zd-mtx changers that access different tape drives. You might be able to figure something out from that. It could lead to a variety of other complications and confusion around Amanda's planner figuring out what tapes to use and so...
Chris's suggestion is a good one, but rememeber that RAIT *stripes* (or mirrors) across drives, so while it will use both drives simultaneously, it will not schedule them separately. Also, chg-zd-mtx will probably collide with itself; that is, it will try to load a tape into drive 1 while already loading a tape into drive 0. Chg-robot, in the next release, does a better job.
Chris's suggestion is a good one, but rememeber that RAIT *stripes* (or mirrors) across drives, so while it will use both drives simultaneously, it will not schedule them separately. Also, chg-zd-mtx will probably collide with itself; that is, it will try to load a tape into drive 1 while already loading a tape into drive 0. Chg-robot, in the next release, does a better job.
I don't know the direct answer to that, but if you look at http://wiki.zmanda.com/man/amanda-changers.7.html and scan down to the middle where it talks about chg-rait, it mentions having two different chg-zd-mtx changers that access different tape drives. You might be able to figure something out from that. It could lead to a variety of other complications and confusion around Amanda's planner figuring out what tapes to use and so...
Thread profile page for "Labeling Problem" on http://www.zmanda.com.
This report page is a snippet summary view from a single thread "Labeling Problem", located on the Message Board at http://www.zmanda.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity