|
Hi,
My
question kinda goes along with what Chris Bourne asked earlier
yesterday:
I have
an STK 9730 jukebox. Running amanda on Solaris 2.6.
In my
amanda.conf file, I specify chg-scsi as my Built In Tape Changer as specified by
share/TAPE.CHANGERS.
As far
as I can see, the configs for chg-scsi is similar to
chg-scsi-chio.
So, in
order for chg-scsi to understand ''changerfile'' as more than just a ''slot
counting'' file, I specify my ''tapedev'' as a ''0''.
When I
try to ''amdump'', I see this error in my amdump.1 log file:
amdump.3:driver: result time 12.873 from taper: TAPE-ERROR [tape_rdlabel:
tape open: 0: No such file or directory]
So I
change the ''tapedev'' entry in amanda.conf back to
/dev/rmt/2bn
Then
amdump works just fine.
Okay
great, now I wish to run ''amlabel'' in order to relabel the tape to test
out ''amdump'' a bit more.
$
amlabel -f DailySet1 DailySet10826 slot 1
amlabel: could not load slot "1": check your config and use an config file for chg-scsi Slot 1
does indeed correspond with /dev/rmt/2bn
So in
order to run ''amlabel'' I gotta specify my ''tapedev'' as
'0'.......and
in
order to run ''amdump'' I gotta specify my ''tapedev'' as
/dev/rmt/2bn
I am
assuming that the ''changerdev'' is the /dev pathname for the robotic
arm.
I know
if the changer script I am using were ''chg-mtx'' as opposed to chg-scsi,
then
I
would likely specify ''chagerdev'' the same as ''tapedev''.
What
am I doing wrong here?
Should
I switch changer scripts, maybe to chg-scsi-chio??
I have
included, the errors I get in the log, and portions of my amanda.conf file
and scsi-chg.conf files
thanks,
Rich
Quinn
========================================================================
=====================amdump.1 LOG
FILE OUTPUT=============================
========================================================================
changer_find: looking for DailySet10820 changer is searchable = 0
changer: opening pipe to: /usr/local/amanda/libexec/chg-scsi -slot current changer: got exit: 0 str: 1 /dev/rmt/2bn taper: slot 1: date X label DailySet10826 (first labelstr match) changer: opening pipe to: /usr/local/amanda/libexec/chg-scsi -slot next changer: got exit: 2 str: 2 slot 2 move failed taper: fatal slot 2: slot 2 move failed changer: opening pipe to: /usr/local/amanda/libexec/chg-scsi -slot 1 changer: got exit: 2 str: 1 slot 1 move failed driver: result time 234.461 from taper: TAPE-ERROR [slot 1 move failed] dump of driver schedule before start degraded mode: ========================================================================
========================================================================
========================================================================
========================================================================
==================PART OF
THE amanda.conf=================================
========================================================================
tpchanger "chg-scsi" # use HP changer changerfile "/opt/encap/amanda/etc/amanda/DailySet1/chg-scsi.conf" changerdev "/dev/rsst0" tapedev "0" # the no-rewind tape device to be used ========================================================================
========================================================================
========================================================================
========================================================================
===================PART OF THE
chg-scsi.conf================================
========================================================================
number_configs
1
eject 0 sleep 60 cleanmax 10 changerdev /dev/rsst0 # # Drive 0 # config 0 drivenum 0 dev /dev/rmt/2bn ========================================================================
========================================================================
========================================================================
|
RE: could not get changer info specify a number as tape_device [0-9]
Quinn, Richard C. - Collinsville IT Tue, 27 Aug 2002 12:46:17 -0700
- could not get changer info specify ... Chris Bourne
- Quinn, Richard C. - Collinsville IT
