Amanda-Users

Re: Network recovery with changer

2003-11-07 16:44:22
Subject: Re: Network recovery with changer
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 7 Nov 2003 16:43:06 -0500
On Fri, Nov 07, 2003 at 01:27:28PM -0800, Stephen Walton wrote:
> On Fri, 2003-11-07 at 09:33, Jon LaBadie wrote:
> > On Fri, Nov 07, 2003 at 09:22:49AM -0800, Stephen Walton wrote:
> > > 
> > > what exactly do I put
> > > in amanda.conf to have amrecover automatically change to the correct
> > > tape?
> > 
> > Did you check the amanda man page?
> > 
> >      amrecover_changer "string"
> 
> Thanks for the response, Jon. It turns out that both questions I asked
> (why was amrecover failing and how to get it to work with the changer)
> are related.  I found by experiment that I have to "settape /dev/nst0"
> in amrecover before it will work, and then also manually load the tape
> amrecover says it needs.
> 
> I do know of the amrecover_changer parameter, and it is set to
> "/dev/nst0"in my amanda.conf, but amrecover still does not change
> tapes.  The relevant lines from my configuration are
> 
> tpchanger "chg-scsi"
> tapedev 0
> changerfile "/etc/opt/amanda/daily/chg-scsi-compaq.conf"
> amrecover_changer "/dev/nst0"
> 
> This does not work with amrecover but I'm unable to find a combination
> which does.

As I noted, I've not used them.

However I would not except your string "/dev/nst0" to be what
it is looking for when the parameter name is "... changer".
That is your tape drive isn't it?

Perhaps the value it wants is the device of your changer,
but I suspect that is in the *.conf file.  So maybe it is
the changer script name?  Looks like yours is chg-scsi-compaq.

jl
-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)