Amanda-Users

working with multiple tape drives

2002-09-06 16:05:14
Subject: working with multiple tape drives
From: "Quinn, Richard C. - Collinsville IT" <rcquinn AT roysterclark DOT com>
To: <amanda-users AT amanda DOT org>
Date: Fri, 6 Sep 2002 13:36:25 -0500
I have a STK 9730 with 2 tape drives and 30 slots.
I use chg-scsi to change tapes.
In my chg-scsi.conf file I have allocated drives 0-14 for drive #0 and
15-29 for drive #1.

I can get chg-scsi to work with drive #0 just fine, but cannot get it to
work with drive #1.

I have been having problems doing commands such as chg-scsi -slot 16

I get this error:

<none> no slot '16'

I looked in the source code for chg-scsi (chg-scsi.c) and found that the

'<none> no slot'  error is for when a bogus slot is specified.

Here is the contents of my chg-scsi.conf file:


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
number_configs  2
eject           1
sleep           60
cleanmax        10      
changerdev      /dev/rsst0
#
# Drive 0
#
config          0
drivenum        0
dev             /dev/rmt/2n     
startuse        0
enduse          16      
statfile        /var/adm/amanda/DailySet1/tape0-slot  
cleancart       5       
cleanfile       /var/adm/amanda/DailySet1/tape0-clean 
usagecount      /var/adm/amanda/DailySet1/totaltime-tape0
tapestatus      /var/adm/amanda/DailySet1/tape0-status
#
#
# Drive 1
#
config          1
drivenum        1
dev             /dev/rmt/3n     
startuse        17
enduse          29      
statfile        /var/adm/amanda/DailySet1/tape1-slot  
cleancart       25      
cleanfile       /var/adm/amanda/DailySet1/tape1-clean 
usagecount      /var/adm/amanda/DailySet1/totaltime-tape1
tapestatus      /var/adm/amanda/DailySet1/tape1-status
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






Has anyone got chg-scsi to work with 2 tape drives?

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