Amanda-Users

Re: Problem with chg-multi

2005-01-24 09:29:32
Subject: Re: Problem with chg-multi
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Vicki Stanfield <vicki AT progeny DOT com>
Date: Mon, 24 Jan 2005 15:13:46 +0100
Vicki Stanfield wrote:
appropriate devices (/dev/nst2, etc). The differences between the old
amanda.conf and the new are these:

.< #Added by Vicki to configure for two tape drives
.< tpchanger "chg-multi"
.<
.< tapedev       "/dev/nst{1,2}" # the non-rewinding device to write
.tapes
.---
. .>tapedev "/dev/nst1" # the non-rewinding device to write

When using chg-multi the tapedev parameter is ignored, no need to
specify something; you're just confusing people reading this file.
But you do need a "changerfile" which points to the "chg-multi.conf"
file, and in that file you should add "slots", each pointing to
a different physical tape device.

My chg-multi.conf looks like:

multieject 0
gravity 0
needeject 0
ejectdelay 0
firstslot 1
lastslot 2
slot 1 /dev/nst0
slot 2 /dev/nst1



52c49
< define tapetype HP-C5683Ax2 {
---

define tapetype HP-C5683A {


When I run the amcheck command, I get the following error:

"/etc/amanda/Progeny01/amanda.conf", line 36: tapetype HP-C5683A not
defined
amcheck: could not find config file "/etc/amanda/Progeny01/amanda.conf"


Very funny:  first amanda says line 36 in that file has a problem,
then then it says the file does not exist???

Is the file really there?  Is that copy/paste of the errormsg or
did you type it yourself in the mail?
Are the permissions of the file, and all directories above not too
restricted?  (read on file, execute on all upper dirs)


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>