Amanda-Users

Re: amtape update command missing?

2006-04-13 07:01:09
Subject: Re: amtape update command missing?
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Charles Smith <charon AT cyc DOT com>, jedlow AT u.washington DOT edu
Date: Thu, 13 Apr 2006 06:55:33 -0400
Charles, Alan,

The update command was added to the 2.4 branch but not to the 2.5 branch. I will send you
a patch when it will be ready.

Jean-Louis

Charles Smith wrote:
Hello,

Was there ever a response to this question? I couldn't find one in the
archives. I'm having the same problem. chg-zd-mtx says to use `amtape
<conf> update` to populate the changer-barcodes file, but amtape has no
such command, at least not in 2.5.0. (FYI  I'm using the opensuse10
rpms)

If it was deprecated, how do I tell chg-zd-mtx/amanda which labels are
associated with what barcodes? Do I just have to manually add entries
in the changer-barcodes file? And will it actually use it?

Thank you,
-Charles Smith

On Thu, 30 Mar 2006 10:53:15 -0800, Alan Jedlow wrote:
Hi,

How do I update the "changer-barcodes" file under AMANDA 2.5.0?  The
update command is missing from amtape:

amtape: unknown command "update"
Usage: amtape <conf> <command>
       Valid commands are:
               reset                Reset changer to known state
               eject                Eject current tape from drive
               clean                Clean the drive
               show                 Show contents of all slots
               current              Show contents of current slot
               slot <slot #>        load tape from slot <slot #>
               slot current         load tape from current slot
               slot prev            load tape from previous slot
               slot next            load tape from next slot
               slot advance         advance to next slot but do not load
               slot first           load tape from first slot
               slot last            load tape from last slot
               label <label>        find and load labeled tape
               taper                perform taper's scan alg.
               device               show current tape device


... it's still mentioned in the man page:

update Update the changer label database, if it has one, to match the tapes now available.
thanks,
 alan