Amanda-Users

R: Illegal slot?

2005-12-30 03:26:45
Subject: R: Illegal slot?
From: "Montagni, Giovanni" <gmontagni AT manord DOT com>
To: <amanda-users AT amanda DOT org>
Date: Fri, 30 Dec 2005 09:08:02 +0100

> -----Messaggio originale-----
> Da: owner-amanda-users AT amanda DOT org 
> [mailto:owner-amanda-users AT amanda DOT org] Per conto di Jon LaBadie
> Inviato: giovedì 29 dicembre 2005 17.33
> A: amanda-users AT amanda DOT org
> Oggetto: Re: Illegal slot?
> 
> 
> On Thu, Dec 29, 2005 at 08:57:01AM +0100, Montagni, Giovanni wrote:
> > Yesterday I've setup a new config with chg-manual and 
> runtapes 2. Both 
> > yesterday and tonight, amverifyrun had failed with this error:
> > 
> > Tapes:
> > Errors found: 
> > amtape: could not load slot <none>: 
> /usr/lib/amanda/chg-manual: illegal
> > slot: -1
> > 
> > amverify bkalfa-all
> > Thu Dec 29 02:52:01 CET 2005
> > 
> > Loading -1 slot...
> > ** Error loading slot -1
> > amtape: could not load slot <none>: /usr/lib/amanda/chg-manual: 
> > illegal
> > slot: -1
> > 
> > This error is strange because if i specify slot number on 
> the command 
> > line all works (it want to check the second tape that it wasn't 
> > written but this is not a problem...). I've checked 
> changer-status and 
> > changer-status-slot files but it's all ok. I suppose there's a file 
> > somewhere where amverify (o amverifyrun) take the (wrong) 
> current slot 
> > number...
> > 
> > How can i fix this problem? I would run amverify from cron...
> > 
> 
> Giovanni,
> would you confirm for me that chg-manual is the correct 
> script for you to use with your hardware.  chg-manual is 
> intended to be used with a single tape drive which requires 
> an operator to remove one tape and replace it with a new 
> tape.  I.e. the change from one 'slot' to the next is done 
> manually.  Usually the script is set up to notify the 
> operator, often by email, that a change is necessary.
> 
> Given the normal use for chg-manual, I don't see how you 
> could do an amdump and amverify from cron with runtapes > 1.
> 

I don't have a tape library, so i have to use chg-manual and change tapes 
manually. Amdump works perfectly but not amverify.
Why if i set runtapes > 1 i can't do amverify? Does it expect slot number every 
run? The "-1" slot mean "no changer"?
Amdump has written 1 of 2 tape, this can influence amverify?

> Are you actually using tape library hardware that 
> automatically can switch tapes?  If so, use one of the other 
> chg- scripts, -scsi, -mtx, or -zd-mtx.
> 
> -- 
> 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)
> 

Your help is always greatfully appreciated. Thanks very much.

Giovanni


----------------------------------------------------------------------
Il contenuto della presente comunicazione è riservato e destinato 
esclusivamente ai destinatari indicati. Nel caso in cui sia ricevuto da persona 
diversa dal destinatario sono proibite la diffusione, la distribuzione e la 
copia. Nel caso riceveste la presente per errore, Vi preghiamo di informarci e 
di distruggerlo e/o cancellarlo dal Vostro computer, senza utilizzare i dati 
contenuti. 

La presente comunicazione (comprensiva dei documenti allegati) non avrà valore 
di proposta contrattuale e/o accettazione di proposte provenienti dal 
destinatario, nè rinuncia o riconoscimento di diritti, debiti e/o crediti, nè 
sarà impegnativa, qualora non sia sottoscritto successivo accordo da chi può 
validamente obbligarci. Non deriverà alcuna responsabilità precontrattuale a 
ns. carico, se la presente non sia seguita da contratto sottoscritto dalle 
parti.
----------------------------------------------------------------------
The contents of the present communication is strictly confidential and reserved 
solely to the referred addressees. In the event was received by person 
different from the addressee, it is forbidden the diffusion, distribution and 
copy. In the event you have received it mistakenly we ask you to inform us and 
to destroy and/or to delete it by your computer, without using the data herein 
contained. 

The present message (eventual annexes inclusive) shall not be considered any 
contractual proposal and/or acceptance of offer coming from the addressee, nor 
waiver neither recognizance of rights, debts and/or credits, and it shall not 
be binding, when it is not executed a subsequent agreement by person who could 
lawfully represent us. No pre-contractual liability shall derive to us, when 
the present communication is not followed by any binding agreement between the 
parties.


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