The config stuff looks OK to me, I would suggest leaving off the slot part
of the amlabel command. When I label tapes through chg-manual, I always just
`amlabel Config2 NextTapeName`, and if it asks me to put a tape in a
specific slot, I just re-insert the tape in the drive, wait for it to settle
down (it's an EXB-8505, they take a while) and hit enter. Solid as a rock.
The only other thing that comes to mind is to make sure that the amanda user
has read and write permissions on the changerfile.
Good Luck.
-----Original Message-----
From: Hartmann, O. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 4:03 PM
To: [EMAIL PROTECTED]
Subject: chg-manual "poor man's" changer problems
Dear Sirs.
I already set up a HP SureStore 6x40i changer based tape device
backing up our main server, now I tried to install on a secondary
machine with a simple HP DAT drive a second piece of amanda, but
without success.
I followed the steps described in the really confusing manuals and
other FAQ-based stuff.
If I'm right, I have to setup the following in amanda.conf:
(here are only the relevant entries)
tpchanger "chg-manual"
tapedev "/dev/nsa0"
changerfile
"/usr/local/perfector/amanda/services-backup/changer.conf"
The entry "changerfile" should be set due the fact, that chg-manual driver
script
searches for several status-semaphores created with the name of the base
changerfile.
If I omit this, I receive an error. The targeted changerfile is either empty
or
I configure some parameters like slot /dev/nsa0 etc.
But I receive allways the same result. After typing "amlabel -f CONFIG
CONFIGLABEL slot [0-9]
(I tried slot 0 to 9, but configured either slot 0 or 1, for testing
purposes to see whether
the result changes) I get the message that I'm to be to insert a cartridge
into drive
0 or drive 1 (depends on what I configured or what slot I gave amlabel). I
inserted already
a cartridge, but I always get the same message after hitting RETURN. I
checked /tmp/amanda/
amlabel.debug and there is a mt output I receive by 'mt status' - and this
seems absolutely
normal as it shows some informations about the used tape (DDS-2 and so on).
Can anybody help? What to be aware of when configuring a chg-manual device?
--
MfG
O. Hartmann
[EMAIL PROTECTED]
----------------------------------------------------------------
IT-Administration des Institut fuer Physik der Atmosphaere (IPA)
----------------------------------------------------------------
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz
Tel: +496131/3924662 (Maschinensaal)
Tel: +496131/3924144
FAX: +496131/3923532