> >$ amcheck gt-host
> >Amanda Tape Server Host Check
> >-----------------------------
> >WARNING: holding disk /var/spool/amanda: only 1388720 KB free
> > (3072000 KB requested)
> >amcheck-server: could not get changer info: badly formed result from
> >changer: "cannot open SCSI device '/dev/sg4' - Permission denied"
>
> Two things come to mind, one being that to find many of the changer
> robots, the kernel must be recompiled, enabled the 'scan all luns'
> option. The other being that devices are assigned in the order
> detected by the kernel, so whats at /dev/sg0, /dev/sg1, /dev/sg2, and
> /dev/sg3? This should all be reported in your /var/log/dmesg file.
I recompiled with the scan all luns option - I actually reinstalled with 7.3
as this was an old system.
> >This is the SCSI info from dmesg
> >
> >Vendor: HP Model: C5713A Rev: H910
> > Type: Sequential-Access ANSI SCSI revision: 02
> >Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
> > Vendor: HP Model: C5713A Rev: H910
> > Type: Sequential-Access ANSI SCSI revision: 02
> >Detected scsi tape st1 at scsi0, channel 0, id 4, lun 1
This is the new dmesg
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Vendor: IBM Model: DNES-318350W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
(scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Vendor: IBM Model: DNES-318350W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
(scsi0:A:1): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Vendor: HP Model: C5713A Rev: H910
Type: Sequential-Access ANSI SCSI revision: 02
(scsi0:A:4): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Vendor: HP Model: C5713A Rev: H910
Type: Sequential-Access ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled. Depth 253
scsi0:A:1:0: Tagged Queuing enabled. Depth 253
st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs
16
Attached scsi tape st0 at scsi0, channel 0, id 4, lun 0
Attached scsi tape st1 at scsi0, channel 0, id 4, lun 1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB)
sda: sda1
SCSI device sdb: 35843670 512-byte hdwr sectors (18352 MB)
sdb: sdb1
> Logical Unit Number 1, the robot, is found and assigned to /dev/st1?
> Or does this library have two drives in it AND they are at different
> LUN's of the same address?
This is a single drive unit so one ID is for the robot and the other is for
the tape device.
> So am I without seeing another 30 lines worth of your dmesg after the
> above quoted snip.
Pasted above is the whole output to do with SCSI from DMESG
If i do an amcheck now..
$ amcheck gt-host
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/spool/amanda: 16710368 KB disk space available, that's
plenty
amcheck-server: could not get changer info: badly formed result from
changer: "cannot open SCSI device '/dev/sg4' - No such device or address"
same issue?
Tom
|