Amanda-Users

Re: Network recovery with changer

2003-11-07 19:26:36
Subject: Re: Network recovery with changer
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: Stephen Walton <stephen.walton AT csun DOT edu>, amanda-users AT amanda DOT org
Date: Fri, 7 Nov 2003 19:15:42 -0500
On Friday 07 November 2003 16:27, 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

I believe thats the wrong device, should it not be /dev/sgX?,  where 
the X is derived from your /var/log/dmesg when it discovered the 
changer?

>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.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.