Amanda-Users

Re: Changing the label of an Amanda tape

2007-07-13 05:55:29
Subject: Re: Changing the label of an Amanda tape
From: "Stefan G. Weichinger" <sgw AT amanda DOT org>
To: Amanda Users Mailing List <amanda-users AT amanda DOT org>
Date: Fri, 13 Jul 2007 11:48:26 +0200
Craig Dewick schrieb:
> On Wed, 11 Jul 2007, Chris Hoogendyk wrote:
> 
>> It's best to maintain consistency in all the information amanda has
>> about tapes and backups.
> 
> Agreed. When I used to have a DAT array (quite a number of years back)
> it worked very well.
> 
>> I have about twice as many tapes in my regular rotation as my tape
>> library holds. I periodically swap out a batch of tapes from the
>> library and cycle in the ones that will be coming up soon. I do all
>> that from the console of the library. Then I run `amtape daily
>> update`, which both tells me what I have in the library now and also
>> updates amanda's information.
> 
> Ok I just tried that command ('amtape ORBnet update' for my setup) and
> it reported 'Changer problem: no slots available'. I know the first 8 of
> the 9 slots have tapes with valid Amanda labels (they were labelled on
> an older DLT array than the Sun L9 array I have here now).

Try to run "mtx -f /dev/sg1 status" before (substitute sg1 with your
changer-device) and then the amtape-command again.

Helps here when I get "no slots".

Stefan