Amanda-Users

Re: only one slot recognized

2008-11-21 14:03:39
Subject: Re: only one slot recognized
From: Nicholas Brockner <nbrockne AT hamilton DOT edu>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Fri, 21 Nov 2008 08:59:25 -0500


Jean-Louis Martineau wrote:
Nicholas Brockner wrote:
Hi Jean-Louis,
Please see inline.

Jean-Louis Martineau wrote:
What's in your changer config file?
-sh-3.2$ more changer.conf
changerdev=/dev/sg3
havereader=1
offline_before_unload=1
OFFLINE_BEFORE_UNLOAD=1
poll_drive_ready=10
Max_drive_wait=99
unloadpause=20
driveslot=0
Try to set firstslot and lastslot in the changer.conf file:
firstslot=1
lastslot=16


I did this, and it comes back with:
-sh-3.2$ amtape dailyfull show
amtape: scanning all 16 slots in tape-changer rack:
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1
slot   1: time X              label week1tape1

What's the output of : mtx -f /dev/sg? status
MTX looks fine:

-sh-3.2$ mtx -f /dev/sg3 status
 Storage Changer /dev/sg3:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
     Storage Element 1:Empty
     Storage Element 2:Empty
     Storage Element 3:Empty
     Storage Element 4:Empty
     Storage Element 5:Empty
     Storage Element 6:Empty
     Storage Element 7:Empty
     Storage Element 8:Empty
     Storage Element 9:Empty
     Storage Element 10:Empty
     Storage Element 11:Empty
     Storage Element 12:Empty
     Storage Element 13:Empty
     Storage Element 14:Empty
     Storage Element 15:Empty
     Storage Element 16:Empty
What's in the debug file?
-sh-3.2$ more changer.debug
Args -> -slot advance
    -> loaded -1
Exit -> 0 /dev/null
Args -> -slot advance
    -> loaded -1
Exit -> 0 /dev/null
Args -> -slot advance
    -> loaded -1
Exit -> 0 /dev/null
Args -> -info
    -> info   -1
Exit -> 0 5 1
Args -> -slot current
    -> loaded -1
Exit -> 1 /dev/nst0
Args -> -slot next
    -> loaded -1
-> load 0
-> status 1
-> result
Exit -> 0
arguments -> -info
Exit -> <none> chg-multi: firstslot not specified in /etc/amanda/dailyfull/changer.conf

What's that? chg-multi
Which changer are you using? You should use chg-zd-mtx

That is a remnant- I was trying everything yesterday to get it working. I am using chg-zd-mtx.
What is your tpchanger: amgetconf dailyfull tpchanger
-sh-3.2$ amgetconf dailyfull tpchanger
chg-zd-mtx

It must be set to chg-zd-mtx

Jean-Louis


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