Amanda-Users

Re: Odd configuration error

2003-11-13 17:08:42
Subject: Re: Odd configuration error
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Tom Brown" <tom.brown AT goodtechnology DOT com>, <amanda-users AT amanda DOT org>
Date: Thu, 13 Nov 2003 17:05:47 -0500
On Thursday 13 November 2003 11:45, Tom Brown wrote:
>Hi,
>
>My amanda server for my DMZ ate its HDD today so i've been busy
> rebuilding it - It has a HP autoloader and a single AIT-2 drive in
> it to run 2 different a,anda configs.
>
>The single drive seems fine - I'm having issues with the changer.
>
>when i run an amcheck on this config i get..
>
>amcheck-server: could not get changer info: no slots available
>
>and so i look in my config and i have my changer as sg2
>
>i do
>
>$ mtx -f /dev/sg2 status
>cannot open SCSI device '/dev/sg2' - No such device
>
>and
>
>$ ls -l /dev/sg*
>lrwxrwxrwx    1 root     disk            3 Nov 13 16:15 /dev/sg0 ->
> sga lrwxrwxrwx    1 root     disk            3 Nov 13 16:15
> /dev/sg1 -> sgb lrwxrwxrwx    1 root     disk            3 Nov 13
> 16:15 /dev/sg2 -> sgc lrwxrwxrwx    1 root     disk            3
> Nov 13 16:15 /dev/sg3 -> sgd lrwxrwxrwx    1 root     disk         
>   3 Nov 13 16:15 /dev/sg4 -> sge lrwxrwxrwx    1 root     disk     
>       3 Nov 13 16:15 /dev/sg5 -> sgf lrwxrwxrwx    1 root     disk 
>           3 Nov 13 16:15 /dev/sg6 -> sgg lrwxrwxrwx    1 root    
> disk            3 Nov 13 16:15 /dev/sg7 -> sgh crwxrwxrwx    1 root
>     disk      21,   0 May  5  1998 /dev/sga crwxrwxrwx    1 root   
>  disk      21,   1 May  5  1998 /dev/sgb crwxrwxrwx    1 root    
> disk      21,   2 May  5  1998 /dev/sgc crwxrwxrwx    1 root    
> disk      21,   3 May  5  1998 /dev/sgd crwxrwxrwx    1 root    
> disk      21,   4 May  5  1998 /dev/sge crwxrwxrwx    1 root    
> disk      21,   5 May  5  1998 /dev/sgf crwxrwxrwx    1 root    
> disk      21,   6 May  5  1998 /dev/sgg crwxrwxrwx    1 root    
> disk      21,   7 May  5  1998 /dev/sgh
>
>below is my dmesg - any thoughts? I'm running this on 2.4.4
>
>thanks
>
>SCSI subsystem driver Revision: 1.00
>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
>        <Adaptec aic7896/97 Ultra2 SCSI adapter>
>        aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
>
>scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
>        <Adaptec aic7896/97 Ultra2 SCSI adapter>
>        aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
>
>scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
>        <Adaptec 2940 Ultra2 SCSI adapter>
>        aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
>
>  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 20020805, 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

I don't see any /dev/sgX in the dmesg discovery, so the first thing 
I'd check is if the scsi init the kernel is doing is scanning all 
LUNs.  Many times the robotic part of the drive has the same bus 
address, but the next higher Logical Unit Number.

Linux kernels do not "scan all luns" by default, it has to be turned 
on in the .config file and the kernel rebuilt and reinstalled.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.


<Prev in Thread] Current Thread [Next in Thread>