Amanda-Users

Re: drive slot issues with chg-zd-mtx on solaris

2003-05-13 17:12:54
Subject: Re: drive slot issues with chg-zd-mtx on solaris
From: Uwe Beger <Uwe.Beger AT labotest DOT com>
To: "Nigel Barker" <nigelb AT muscat DOT com>, "Amanda-Users" <amanda-users AT amanda DOT org>
Date: Tue, 13 May 2003 23:05:53 +0200
At 20:41 13.05.2003, Nigel Barker wrote:
Hi

Next issue is the drive slot...
My tape device is /dev/rmt/1n, so I've set driveslot=0 in changer.conf
(I also tried it set to 1, same result, except it said drive slot 1 in the
error message)

Here's the log

bash-2.03# cat /tmp/amanda/chg-zd-mtx.20030513183630.debug
chg-zd-mtx: debug 1 pid 4712 ruid 4027 euid 4027: start at Tue May 13
18:36:30 2003
18:36:31 Arg info:
         $# = 2
         $0 = "./chg-zd-mtx"
         $1 = "-slot"
         $2 = "current"
18:36:31 Running: mtx status
18:36:31 Exit code: 0
         Stdout:
  Storage Changer /dev/scsi/changer/c1t6d0:1 Drives, 10 Slots ( 0
Import/Export )
Data Transfer Element 0:Full (Unknown Storage Element Loaded)

I had the same problem with mtx recently. It's first a mtx-related issue!
After trying to get the problem solved with the mtx developers (without sucess...nobody was interested I had the feeling) I slightly changed chg-zd-mtx for my changer. The idea is to grep the mtx output not as intended originelly within chg-zd-mtx. I have now my amanda config up and running since several weeks without any mtx/chg-zd-mtx related problems. Since my modified chg-zd-mtx is programmed q&d and I had only the chance to test it with my config (Sony TSL-9000 DDS-3 changer, Solaris 9 Sparc) I don't want to post it here :-( but you can mail me if you want to get the idea ;-)

Hope it helps, Uwe.


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