Amanda-Users

Re: Making certain the correct changer slot is selected before running amdump

2006-04-15 09:27:31
Subject: Re: Making certain the correct changer slot is selected before running amdump
From: stan <stanb AT panix DOT com>
To: Joshua Baker-LePain <jlb17 AT duke DOT edu>
Date: Sat, 15 Apr 2006 09:21:22 -0400
On Sat, Apr 15, 2006 at 05:46:52AM -0400, Joshua Baker-LePain wrote:
> On Sat, 15 Apr 2006 at 5:24am, stan wrote
> 
> >On Sat, Apr 15, 2006 at 12:20:16AM -0400, Gene Heskett wrote:
> 
> >>You can go ahead and write such a beast, but if the tapes are already
> >>labeled, amcheck can do that just fine.
> >
> >Mmm, as far as I know amcheck can tell me if the correct tape is loaded,
> >but I'll stil need to write something that will run amcheck, check the
> >results of it (does it return a status or do I have to check the text
> >it outputs), then run amtape next slot, check again, and loop untill
> >it gets a good status (or has checked all slots).
> 
> With my changer (and chg-zd-mtx), amtape will scan through all available 
> slots until it finds (or doesn't) the tape with the label it's expecting.
> 
Cool, perhaps mine will work that way if I label all the tapes?
I'm using cchg-multi with each "slot" consisting of a RAIT of 1 vatpe, 
one physical tape. The tape drive is a single tape unit, not a changer.
What amtape command are you issuing? None of the ones listed in the man
page seem to request this, as far as I can tell.

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967