Bort, Paul ([EMAIL PROTECTED]):
> I just re-posted the "hack" you mention below for Steve Vitale, and
> I don't think it's that bad, certainly no worse than the worst of
> the rest of the changer hacks. :)
There are no searchable archives after Jul 11th on egroups (and no
other links to searchable archives) so I didn't see it. Thanks for
sending it.
> Before you start on the changer, is AMANDA working correctly with the tape
> drive and no changer (i.e., chg-manual, the human tape changer)?
Unfortunately I'm about 1300 miles from the changer. So I can't do the
human tape changer test. I could try it with just one tape if I
understood enough about Amanda to make that work.
I suppose I need to setup tapedev to point to the sequential tape
device and run a backup hoping that it actually hits a tape (and that
the changer isn't docked or something)?
> The next step after that is to get the changer up and running outside of
> AMANDA, and I remember three steps to that:
> 1. Find or create a device for the changer. My tape drive is /dev/nst0, and
> my changer is /dev/sch0. If you don't know what device controls your
> changer, you might not have a device. The changer software at
> http://bytesex.org/changer.html provides some explanation and examples for
> creating device nodes.
Wow! The README for that is probably the best bit of documentation
I've found yet. Simple and to the point. I'll install and test this
next.
> 2. Get a kernel module loaded that will 'talk' to the device. The link above
> includes source code for such a device, and is part of how I solved the
> problem.
> 3. Use a utility to tell the kernel module what to do with the device. Now
> you should be able to move tapes around from the command line. The only
> problem I ran into with this is the lack of communication between the
> changer and the tape drive requires that you eject a tape from the drive
> before the changer can pick it up. (The changer won't tell the drive to
> eject.)
> Once all of that is together, you can try using any combination of mtx,
> zd-mtx, or any other utility and changer script to get the desired results.
> I don't have a sure-fire recipe, just notes on what worked for me.
Ok, how do I use the glue script and the changer? Is it something like
this?
tpchanger "chg-userland"
changerfile "/usr/local/etc/amanda/daily/chg-userland.conf"
If so, what goes in the .conf file. If not, where does the
chg-userland fit into the picture.
Thanks,
--
Jeremy Wadsack
Wadsack-Allen Digital Group