debugging chg-scsi
2004-11-04 12:10:27
Hello all - is there a way to get more information out of chg-scsi?
I'm trying to debug a wierd issue:
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!
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- debugging chg-scsi,
Erik Anderson <=
|
|
|