Amanda-Users

Making certain the correct changer slot is selected before running amdump

2006-04-14 11:22:28
Subject: Making certain the correct changer slot is selected before running amdump
From: stan <stanb AT panix DOT com>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Fri, 14 Apr 2006 11:15:45 -0400
I'm having trouble adapting to life with a "tape changer".
I'm used to Amanda with a single tape drive, and it seems to
pretty much be ready for the next tape when I insert it.

My new setup is RAIT with chg-multi (one side vtape, and the other
a real tape drive). Has anyone worked out a way to make certain
that the correct "slot" is selected? I am wondering if someone
might have written a warper script for amtape? I've tried just 
putting "amtape config slot next" in my amdump wrapper script,
but sometimes that's not really what needs to the done. For example,
I put a new tape in yesterday, did a manual amtape next, and an 
amlabel. And forgot to do an amtape slot previous, so last nights
dumps went to the holding disk, even though the correct tape
was in the drive :-(

Suggestions?

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