In a message dated: Mon, 18 Dec 2000 18:54:20 EST
Mitch Collinsworth said:

>Well don't let that stop you.  Get on amanda-users and ask.  Someone
>will know how.  I haven't done it on Linux myself yet, but plenty of
>people have.
>
>-Mitch
>
>
>On Mon, 18 Dec 2000, George Kelbley wrote:
>
>> Yeah, several people have suggested that.  Problem is we can't figure
>> out how to create the /dev/chg or whatever device.  Our makedev won't do
>> it . . .

You need to have the generic scsi driver compiled into your kernel.  In my 
amanda.conf file, I have:

        tpchanger "chg-scsi"    # the tape-changer glue script
        changerfile "/usr/local/etc/amanda/chg-scsi.conf"
        tapedev "0"             # the no-rewind tape device to be used

Then changerfile has:

        number_configs  1
        eject       1           # optional: Tapedrives need an eject command
        sleep       180         # Seconds to wait until the tape gets ready
        cleanmax    20          # optional: How many times could a cleaning tape
                                # get used
        changerdev  /dev/sgb    # this is the device used to move tapes around

        config      0           # this is what matches the `tapedev "0"'
                                # line from amanda.conf
        drivenum    0
        dev         /dev/nst0   # this is the actual tape drive itself
        startuse    0           # The slots associated with the drive 0
        enduse      6
        statfile    /usr/local/etc/amanda/tape-slot
                                # The file where the actual slot is stored  

        cleancart   7           # the slot where the cleaning cartridge
                                # for drive 0 is located
        cleanfile   /usr/local/etc/amanda/tape-clean
                                # The file where the cleanings are recorded
        usagecount  /usr/local/etc/amanda/totaltime 


I hope this helps somewhat.
-- 
Seeya,
Paul
----
           I'm in shape, my shape just happens to be pear!

         If you're not having fun, you're not doing it right!


Reply via email to