Amanda-Users

Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 03:33:49
Subject: Re: dumpcycle / runspercycle / tapecycle best practices?
From: Christoph Scheeder <christoph.scheeder AT scheeder DOT de>
To: Erik Anderson <erikerik AT gmail DOT com>
Date: Thu, 04 Nov 2004 09:23:10 +0100
Hi,
as i'm using chg-scsi with some changers under linux let's check a few
things :
1.) remove all comments from chg-scsi.conf, sometimes i had problems
    with chg-scsi which went away after removing them all.
2.) set lastslot to 4 or your cleaningtape will be loaded in every
    search cycle through the magazin. (probably not what you want)
3.) your changer and your tapedrive are recognized at bootup by the
    kernel, correct?
    ( do you see both when you do a  "cat /proc/scsi/scsi" ?)

Christoph

Erik Anderson schrieb:
On Wed, 3 Nov 2004 17:46:19 -0500, Jon LaBadie <jon AT jgcomp DOT com> wrote:

I've not used the scsi chg script/program.
Have you read and done what it says in the documentation
and example files to set up config files for chg-scsi ...


Yes, indeed I have.  Here's my chg-scsi.conf:

number_configs  1
eject           1       # Tapedrives need an eject command
sleep           5       # Seconds to wait until the tape gets ready
cleanmax        10      # How many times could a cleaning tape get used
changerdev      /dev/sg1
#
# Next comes the data for drive 0
#
config          0
drivenum        0
dev             /dev/nst0       # the device that is used for the tapedrive 0
startuse        0       # The slots associated with the drive 0
enduse          5       #
statfile        /etc/amanda/tape-slot  # The file where the actual
slot is stored
cleancart       5       # the slot where the cleaningcartridge for
drive 0 is located
cleanfile       /etc/amanda/tape-clean # The file where the cleanings
are recorded
usagecount      /etc/amanda/backup/totaltime