Amanda-Users

Re: 2 devices on one machine

2003-10-13 09:43:38
Subject: Re: 2 devices on one machine
From: "Tom Brown" <tom.brown AT goodtechnology DOT com>
To: "Tom Brown" <tom.brown AT goodtechnology DOT com>, <amanda-users AT amanda DOT org>
Date: Mon, 13 Oct 2003 14:38:41 +0100
> I have a machine that does a DMZ backup with a DDS4 autoloader on it. I
now
> also need to use this machine to backup a single machine onto a AIT2
single
> drive.
>
> I have installed the drive and it is recognised.
>
> dmesg says..
>
>   Vendor: SONY      Model: SDX-500C          Rev: 010c
>   Type:   Sequential-Access                  ANSI SCSI revision: 02
> (scsi1:A:0): 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
>   Vendor: HP        Model: C5713A            Rev: H107
>   Type:   Sequential-Access                  ANSI SCSI revision: 02
> (scsi2:A:4): 40.000MB/s transfers (20.000MHz, offset 32, 16bit)
>   Vendor: HP        Model: C5713A            Rev: H107
>   Type:   Medium Changer                     ANSI SCSI revision: 02
> st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs
> 16
> Attached scsi tape st0 at scsi1, channel 0, id 0, lun 0
> Attached scsi tape st1 at scsi2, channel 0, id 4, lun 0
> Attached scsi generic sg2 at scsi2, channel 0, id 4, lun 1,  type 8
>
> so i can see the changer, and both tape drives.
>
> I had my amanda.conf set to use /dev/nst0 for the tape drive in the
> changer - I presume i would also now need to use /dev/nst1.
>
> How can i tell which one to use for which? My changer does now not work
and
> and changing it to user nst1 does not also work?

to follow up to myself here i have managed to get the single drive working
fine - The issue now seems to be with the changer.

Using mtx i can load and unload tapes but when i run amcheck i get the
following error

amcheck-server: could not get changer info: could not determine current
slot, are you sure your drive slot is 1

I have changed all references to nst0 to point to nst1 in my config for this
setup but still this error - i have searched the archives for this one but
can't seem to find a solution.

Can anyone help out here?

thanks