Amanda-Users

Re: Changer doesn't change tapes

2002-11-06 13:11:36
Subject: Re: Changer doesn't change tapes
From: Ben Simpson <ben AT silextech DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 06 Nov 2002 12:38:05 -0500
"amrestore doesn't use the changer, it will never use it because
it know nothing about the amanda configuration."

I don't understand this.  because It will ask me the tape to put in.  I can 
switch to another session and type


amtape DailySet1 label DAILY-5

and it will go through the changer and put the right tape in the drive.

amtape being a command for Amanda and not the mtx changer portion.

So it sounds to me that Amanda is aware of which tape it needs (amrestore) and (amtape) can find the tape that it needs. So why can't when I go to restore a file and get to the point were it is asking me for the tape, why doesn't it find the tape?

Just curious.




Jean-Louis Martineau wrote:

On Sat, Nov 02, 2002 at 04:42:08PM -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.

amrestore doesn't use the changer, it will never use it because
it know nothing about the amanda configuration.

amrecover doesn't use the changer either, but it will use it
in the next amanda release (I'm working on that).

Jean-Louis

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?

--
Ben Simpson, MCSE
Systems Engineer
Voice and Fax Number: 1-877-718-7627 x401

Silex Technologies
http://www.silextech.com




--
Ben Simpson, MCSE
Systems Engineer
Voice and Fax Number: 1-877-718-7627 x401

Silex Technologies
http://www.silextech.com