Amanda-Users

Re: switching between drives

2004-05-21 17:10:50
Subject: Re: switching between drives
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Myron Kowalski <kowalskM AT cs.moravian DOT edu>
Date: Fri, 21 May 2004 23:00:40 +0200
Myron Kowalski wrote:
I've been running Amanda (VERSION="Amanda-2.4.3") on a tape
server that has two drives, but I've been using only one of
the drives. Anyway to configure Amanda to use a different
drive each night?

Use changer script chg-multi, like this:

In amanda.conf:

tpchanger "chg-multi"
changerfile "/usr/local/etc/YourConFig/chg-multi.conf

And the chg-multi.conf file contains something like:

multieject 0
gravity 0
needeject 0
ejectdelay 0
statefile /var/lib/amanda/YourConFig/changer-status
firstslot 1
lastslot 2
slot 1 /dev/nst0
slot 2 /dev/nst1

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

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