Amanda-Users

Re: Changer doesn't change tapes

2002-11-02 23:32:59
Subject: Re: Changer doesn't change tapes
From: Galen Johnson <gjohnson AT trantor DOT org>
To: amanda-users AT amanda DOT org
Date: Sat, 02 Nov 2002 23:11:11 -0500
Ben Simpson wrote:

I am running amanda on a Sony tape changer.
I am using chg-zd-mtx to interface with the changer using MTX
When I run amrestore it fails to load the tape it needs.
I have to open another session and tell it to load the right tape.

So my question is (after looking at some of the code) does the MTX changer only changes the tapes
to the next tape or previous tape and not to the tape that it needs?

It sounds like you may have to set the option offline_before_unload=1. You may also need to make sure that the changer itself is not set to sequential mode. An easy way to test is to load a tape and write to it...then try to change it via the command line. If you have to run 'mt offline' then you need to set the option. I am also assuming you've amlabeled the tapes.

Also, post the relevant debug files.

=G=