Amanda-Users

Re: Question: ADIC DAT-Changer very slow

2002-09-04 05:16:23
Subject: Re: Question: ADIC DAT-Changer very slow
From: Christoph Scheeder <christoph.scheeder AT scheeder DOT de>
To: Stefan Hellwig <shellwig AT orga DOT com>
Date: Wed, 04 Sep 2002 10:58:53 +0200
hi,
i have such a changer working fine since about a year now,
it's not the fastest,( amcheck takes about 1 or 2 Minutes per tape)
but 10 Minutes per tape is much to long....
my chg-scsi.conf looks like this:

<---cut--->
number_configs 1 eject 1 sleep 30 cleanmax 30
changerdev      /dev/sg6

config 0 drivenum 0 dev /dev/nst0 scsitapedev /dev/sg5 startuse 0 enduse 10
statfile        /etc/amanda/tape-slot
cleancart 11 cleanfile /etc/amanda/tape-clean usagecount /etc/amanda/backup/totaltime
<---cut--->

Hope it helps,
Christoph

Stefan Hellwig wrote:

Hello!

I am very new to AMANDA (I started using it yesterday :-). However, I managed to get the configuration done and all seems to work fine, thanks especially to the great online manuals I found.

I am using version 2.4.2p2 on Linux (SuSE 6.4, Kernel 2.2.14) with an ADIC 1200 DAT-Changer (12 slots) connected to an Adaptec 2940 SCSI host adapter. I configured the chg-scsi changer configuration using the chg-scsi-linux.conf as a template.

Although it can control the changer and read/write to the connected HP DAT tape there remains one problem: The DAT changer needs a very long time (10 minutes!) to change tapes. In the chg-scsi debug output I usually get a lot of "not ready" messages like this:

<-- CUT -->

##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     70
        Valid                         0
        ASC                           3A
        ASCQ                          00
        Sense key                     02
                Not Ready
GenericSenseHandler : NOT_READY ASC = 3a ASCQ = 0
#### STOP SenseHandler

<-- CUT -->

Then, at some point, I get the following message:

<-- CUT -->

#### STOP SenseHandler
GenericEject : Ready after 600 sec, true = 1
##### STOP eject_tape [0]
###### START unload
unload               : fd 3, slot 3, drive 0
unload               : unload drive 0[2] slot 3[6]
##### START GenericMove
GenericMove          : from = 2, to = 6

<-- CUT -->

It then finally takes the tape back into its slot and tries to load the next one. Can anyone help me out here? Thanks!

Regards, Stefan.