That's how I thought it worked, but
amtape <config> show
never shows more than tapecycle slots in the changer. So as far I can see there is no way to reference slot tapecycle+1, tapecycle+2 etc. For example,
amtape <config> label <tapecycle+1>
Returns
amtape: could not find label <tapecycle+1> in tape rack.
Even though a vtape with that label exists. If I extend tapecycle so that new_tapecycle=old_tapecycle+1 then the previous command will correctly load the specified tape.
Am I missing something?
-----Original Message-----
From: Stefan G. Weichinger [mailto:monitor AT oops.co DOT at]
Sent: 02 November 2004 16:01
To: 'amanda-users AT amanda DOT org'
Subject: Re: Chg-disk question
Hi, Alan,
on Dienstag, 02. November 2004 at 12:26 you wrote to amanda-users:
GA> Can anyone explain how chg-disk works? I'm a bit confused. As I
GA> understand it the number of slots in the vchanger is determined by
GA> the tapecycle option. This means that if I remove a tape from the
GA> cycle with amadmin no-reuse there will be insufficient tapes in the
GA> cycle. However, I sometimes need to take certain 'tapes' out of the
GA> cycle for a bit. Is this possible using chg-disk?
The number of vtapes has to be equal or bigger that the parameter tapecycle. You could create some more vtapes, this does not matter to AMANDA.
So if you want to mark up to 3 vtapes as "no-reuse" at a time and have a tapecycle of 10, go and create at least 13 vtapes. Just make sure that you have at least "tapecycle" vtapes that are marked reusable all the time.
Ok?
--
best regards,
Stefan
Stefan G. Weichinger
mailto:monitor AT oops.co DOT at
*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Beaufort House, 15 St. Botolph Street, London, EC3A 7QN
Tel. +44 20 7390 3900
This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message. Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************
|