Amanda-Users

Re: amcheck - why run it?

2003-09-30 10:59:04
Subject: Re: amcheck - why run it?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 30 Sep 2003 10:53:16 -0400
On Tue, Sep 30, 2003 at 03:59:41PM +0200, Sven Rudolph wrote:
> Jon LaBadie <jon AT jgcomp DOT com> writes:
> 
> > On Sun, Sep 28, 2003 at 05:42:02PM +0200, Sven Rudolph wrote:
> 
> > > This seems to assume that the tapes are in consecutive
> > > slots. (amverify seems to have this limit, and amverifyrun does not
> > > work around this.)
> > > 
> > 
> > As amverifyrun is simply a shell script that calls amverify telling
> > it the number of tapes, it is not surprising that it would suffer
> > the same defects.
> > 
> > Is there a way, other than "amtape ... show" to get a list of the
> > tapes currently in the changer?  I'd like to think there was an
> > alternative to going through each slot individually unless necessary.
> > 
> > I can imagine a way to modify amverifyrun to call amverify to do
> > specific slots one at a time.  However, it would take knowledge of
> > what tapes are in the changer.
> 
> IMHO "amtape label" should be sufficient. So you only need the labels
> of the tapes that were written today. Then you can insert them with
> "amtape label". (This needs some kind of barcode support (real or
> emulated).)


Ahh, another of those commands and options I did not realized existed.
Never had a barcode reader nor used a changer script that emulated one.

:((

Might be a reason to switch to one.  Does chg-zd-mtx "effectively", in
peoples opinions, emulate one?  I.e. does it maintain a list of tapes
and use it to randomly go to the correct slot with "amtape label tape-name"

If so, I may take a shot at updating amverifyrun.

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

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