I seem to be
having an awful time with configuring chg-scsi:
-bash-3.00$
amlabel dailyset dailyset0 slot 0
changer: got exit: 2 str: <error> <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: could not load slot "0": <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: could not load slot "0": <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: pid 731 finish time Mon May 1 13:47:55 2006
-bash-3.00$
changer: got exit: 2 str: <error> <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: could not load slot "0": <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: could not load slot "0": <error> could not read result from "/usr/local/libexec/chg-scsi" (got signal 11)
amlabel: pid 731 finish time Mon May 1 13:47:55 2006
-bash-3.00$
-bash-3.00$ chg-scsi -info
Segmentation Fault (core dumped)
-bash-3.00$
Segmentation Fault (core dumped)
-bash-3.00$
-bash-3.00$ cat chg-scsi.conf
number_configs
1
eject 1 # Tapedrives need an eject command
sleep 15 # Seconds to wait until the tape gets ready
cleanmax 10 # How many times could a cleaning tape get used
#changerdev /dev/rmt/0cbn
#
#
config 0
drivenum 0
dev /dev/nrst36 # the device that is used for the tapedrive 0
startuse 0 # The slots associated with the drive 0
enduse 17 #
statfile /usr/local/etc/amanda/tape5-slot # The file where the actual slot is stored
cleancart 18 # the slot where the cleaningcartridge for drive 0 is located
cleanfile /usr/local/etc/amanda/tape0-clean # The file where the cleanings are recorded
usagecount /usr/local/etc/amanda/backup/totaltime
eject 1 # Tapedrives need an eject command
sleep 15 # Seconds to wait until the tape gets ready
cleanmax 10 # How many times could a cleaning tape get used
#changerdev /dev/rmt/0cbn
#
#
config 0
drivenum 0
dev /dev/nrst36 # the device that is used for the tapedrive 0
startuse 0 # The slots associated with the drive 0
enduse 17 #
statfile /usr/local/etc/amanda/tape5-slot # The file where the actual slot is stored
cleancart 18 # the slot where the cleaningcartridge for drive 0 is located
cleanfile /usr/local/etc/amanda/tape0-clean # The file where the cleanings are recorded
usagecount /usr/local/etc/amanda/backup/totaltime