I think I see what's happening.  Driver (the program that runs things in
Amanda) first tells taper (the tape management piece) to get started, then
while that is going on, it does the planner (estimates) steps.  It starts
taper early to give it time to deal with robots, human operators, etc.

When the estimates are done, however, driver has to wait for taper to
say it is ready in case there is an error and driver has to drop into
degraded mode right from the start.  That's where your setup is hanging.
Taper is never responding.

Note the following right after taper is told to start:

changer: opening pipe to: /usr/local/libexec/chg-manual -info
changer: got exit: 0 str: 0 99 1
changer_query: changer return was 99 1
changer_query: searchable = 0
changer_find: looking for System1-001 changer is searchable = 0
changer: opening pipe to: /usr/local/libexec/chg-manual -slot current

You have configured Amanda to use the "manual" tape changer.  My guess
is that it's sitting there waiting for you to mount the tape and that's
why driver is not able to go any further.

If you don't have a tape changer, the easiest thing to do is just point
Amanda at that device with "tapedev" and not set any of the "changer"
options ("tpchanger" in particular).

If you want to use chg-manual and you are not running amdump from a
tty session, you need to look at the comments in that script for how
to alter it to notify you of mount requests (e.g. via E-mail or system
log message).

>Tom

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to