Amanda-Users

AW: Problem: cannot overwrite active tape

2004-06-04 11:49:10
Subject: AW: Problem: cannot overwrite active tape
From: Sebastian Kösters <skoesters AT sino DOT de>
To: <amanda-users AT amanda DOT org>
Date: Fri, 4 Jun 2004 17:45:25 +0200
I only want to create more then one tabes but don´t know what to do to
create more tabes?!

-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im
Auftrag von Jon LaBadie
Gesendet: Freitag, 4. Juni 2004 17:32
An: amanda-users AT amanda DOT org
Betreff: Re: Problem: cannot overwrite active tape

On Fri, Jun 04, 2004 at 05:32:30PM +0200, Sebastian Kösters wrote:
> Thank your for the help.
> 
> The tapecycle parameter is active und set to 14. 
> But how could I create more tapes?
> 
> I created the first tape with "amlabel DailySet1 DailySet100" now I tried
to
> create another tape with "amlabel DailySet1 DailySet101" but then the
> following error message comes: 
> 
> rewinding, reading label DailySet100, tape is active
> rewinding
> tape not labelled
> 
> What must I do to create more tapes?
...
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT 
> amanda DOT org]
Im
> Auftrag von Jon LaBadie
> Gesendet: Freitag, 4. Juni 2004 17:02
> An: amanda-users AT amanda DOT org
> Betreff: Re: Problem: cannot overwrite active tape
> 
> On Fri, Jun 04, 2004 at 04:45:36PM +0200, Sebastian Kösters wrote:
> > Hi!
> > 
> > I got a Problem with Amanda. 
> > 
> > I did a backup with ?amdump <<name>>?. 
> > 
> > Doing the backup works fine but making a ?amcheck <<name>>?  after the
> > backup (before the backup is everything ok) says the following error :
> > ?cannot overwrite active tape DailySet100?.  
> > After making the backup it is not possible to do the backup once again.
> > 
> > What must I do to make it work correctly?
> 
> Amanda works on the assumption that you have many/several/more-than-one
> tape that will be used for backups.  It cycles through those tapes,
> using one or more for each amdump run.  You specify the "minimum"
> number of tapes in the cycle with the "tapecycle" parameter.  Each
> tape must be uniquely labeled with the amlabel command before use.
> 

I don't know what you are doing.
Are you putting in the same tape each time?
It can't have the two labels.
Don't use the same tape, label 14 separate tapes.
If you somehow have multiple tapes with the same
label, or you for some reason need to change a
tapes label, use the '-f' option of amlabel.

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