On Saturday 11 May 2002 06:55 pm, Sven Kirmess wrote:
>I have a HP SureStore DDS-3 24x6 tape changer. This changer
>worked as expected with AMANDA under Linux but I have huge
>problems getting it to work with chg-scsi. I can navigate the
> changer with chio and talk to the tape with mt.
>
>Is there someone using chg-scsi with a HP tape changer under a
>OpenBSD or another BSD? If so, could you please send me your
>config file? I have problems figureing out which devices I
> should use. Under Linux I used:
>
>changerdev     /dev/sg0
>dev                 /dev/nst0
>scsitapedev    /dev/sg1
>
>
>Sven

I'm not running the HP, but a Seagate 4 tape changer, with 
chg-scsi.conf as follows, there may be some help here.

----

number_configs  1
# emubarcode    0
debuglevel      0:0
eject          0       # Tapedrives need an eject command
sleep         30      # Seconds to wait until the tape gets ready
cleanmax  100      # How many times could a cleaning tape get used
changerdev  /dev/sg1
#
# Next comes the data for drive 0
#
config      0
drivenum  0
dev /dev/nst0       # the device that is used for the tapedrive 0
# scsitapedev   /dev/sg1        # apparently not required

# amanda uses base 0 numbering, so
startuse        0       # The slots associated with the drive 0
enduse          2       #
statfile        /usr/local/etc/amanda/tape5-slot  # The file 
where the actual slot is stored
cleancart       3       # 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
tapestatus      /usr/local/etc/amanda/tapestatus
# TH
# TH Added the labelfile to record which tape is in which slot.
# TH this will speed up things on large changer to
# TH find a specific tape
labelfile       /usr/local/etc/amanda/labelfile
# This is the end

I'd start by adjusting the enduse and cleancart numbers to 
reflect your HP's 6 tape capacity.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
98.89+% setiathome rank, not too shabby for a hillbilly

Reply via email to