Amanda-Users

Re: Amanda.conf Changerfile location

2005-04-07 11:25:34
Subject: Re: Amanda.conf Changerfile location
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Thu, 07 Apr 2005 11:12:02 -0400
On Thursday 07 April 2005 10:02, Steve Yun wrote:
>Hi all,
>
>I am converting tape backup from one single load, sequential-access
> Scsi tape device to an Autoloader Scsi Tape Changer device. I am
> having trouble finding my 'changerfile'  scripts in SELinux.  I
> know my changerdev is /dev/sg2 and tape device is /dev/sg1.  I can
> successfully issue the mtx commands for status and inquiry 'mtx -f
> /dev/... inquiry' and 'mtx -f /dev/... status'
>
>I know that my 'amanda.conf' needs to have at most one changerfile
> entry defined.  So I need to find my changerfile.  Any ideas on
> where I can find this file?
>
>Thanks,
> -steve
The changerfile is a generic name.  The choices are chg-scsi, chg-mtx, 
etc etc.

These changerfiles can contain more than one config section so that 
its possible to describe 2 or more changers to the amanda system.

In the amanda src dir is an example directory, take a look around in 
there for suitable file and modify it, after moveing it to the same 
dir the rest of the stuff like your amanda.conf is in to fit your 
situation.  I'd lean toward using the chg-mtx since you already know 
mtx can run it.  chg-scsi could also be used, but it has trouble 
doing a rewind when it needs to, or did the last time I used it, 
forceing me to write some wrapper stuff that was never entirely 
satisfactory.

Humm, and then I go looking in the latest builds examples directory to 
make sure I know what I'm talking about, and chg-mtx seems to have 
been removed.  Anybody know why?

It is however, present in the changer-src directory, so I'd assume its 
still usable by writing your own based on one of the others.

At any rate, one of the remaining ones should be useable.  The list 
now looks like:
3hole.ps                 chg-scsi-hpux.con   EXB-8500.ps
8.5x11.ps                chg-mcutil.conf     config.site               
HP-DAT.ps                amanda.conf         chg-scsi-linux.conf     
DIN-A4.ps                Makefile           amanda.conf.chg-scsi     
chg-multi.conf           disklist           chg-scsi.conf       
chg-scsi-solaris.conf    DLT.ps

The .ps files are the drivers for a nightly printout, the DAT file 
outputting a very tiny font and form that all fits in a DAT casette 
case but it also carries paper debris into the tapes, potentially 
causeing failures so I use the 3hole.ps version and do not store the 
printout with the (now non-existent, using vtapes instead) tape.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

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