Re: debugging chg-scsi
2004-11-04 12:52:54
On Thursday November 04 2004 8:55 am, Erik Anderson wrote:
> Hello all - is there a way to get more information out of chg-scsi?
> I'm trying to debug a wierd issue:
Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra
2000 Treefrog and finally gave up. I ended up writing my own changer control
program.
> amanda@lpdlnx00 LPD $ amcheck LPD
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /dumps/amanda: 36514756 KB disk space available, that's plenty
> amcheck-server: could not get changer info: could not read result from
> "/usr/libexec/chg-scsi
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 0 hosts checked in 0.001 seconds, 0 problems found
>
> I'm able to move tapes around, read them, etc using mt and mtx. Yes,
> I know that I could use chg-zg-mtx, but I'd like to find out why this
> is happening for curiosity's sake, if anything.
>
> If I run chg-scsi directly, this is what I get:
>
> amanda@lpdlnx00 LPD $ /usr/libexec/chg-scsi -info
> No device found for tape eject
>
> And here's my chg-scsi.conf:
>
> number_configs 1
> eject 1 # Tapedrives need an eject command
> sleep 5 # Seconds to wait until the tape gets ready
> cleanmax 10 # How many times could a cleaning tape get used
> changerdev /dev/sg1
> config 0
> drivenum 0
> dev /dev/nst0 # the device that is used for the tapedrive
> 0 startuse 0 # The slots associated with the drive 0
> enduse 5 #
> statfile /etc/amanda/tape-slot # The file where the actual
> slot is stored
> cleancart 5 # the slot where the cleaningcartridge for
> drive 0 is located
> cleanfile /etc/amanda/tape-clean # The file where the cleanings
> are recorded
> usagecount /etc/amanda/backup/totaltime
>
> Thanks!
--
Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
------------------------------------------------------------------
Fascism: When Socialism gets down to business.
|
|
|