On Friday 13 June 2003 06:59, Tom Brown wrote: >> > Joshua, I've got this faint echo running around in the back of >> > my mind from something over a year ago, maybe even 2, where >> > someone was having trouble with an HP that was responding to >> > multiple LUNS. At the time I can't recall if the consensus was >> > an HP bug, or a kernel bug. In this gents case I think I'd name >> > /dev/nst0 as the drive, and /dev/sg3 as the changer so he is >> > using the LUN=0 device for the drive, and the LUN=1 for the >> > robotics. Only if there are weird results would I change it to >> > /dev/sg2 for the robotics since that theoreticly would be the >> > same as /dev/st0 at bus address 0,4,0. And that would make me >> > nervous/apprehensive/worryalot etc. >> >> i have set the tape device to be /dev/nst0 and the robot to be >> /dev/sg2 >> >> Not sure why it behaves like this but i did a quick reinstall and >> this occurred on a 2.2.18 kernel and now still does it on a 2.4.18 >> kernel on REdHat 7.3. Therefore i'd so for a HP bug > >Hi list, > >Sorry to post again so soon with a similar problem but i'm trying to > setup another autoloader as a test rig for another situation. This > time its a DDS3 from HP. > >I'm getting the same error as before regarding the /dev/sg* and > permission denied when i set my changerdevice in amanda.conf. > >Below is an out out from the SCSI section of my messages on this > box. This time i also have a CDROM and i don't seem to be able to > set the channgerdevice. I have tried /dev/sg0 through /dev/sg7 but > i just get permision dened for them all. What should it be? > >thanks > >Tom > >SCSI subsystem driver Revision: 1.00 >scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4 > <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.4 > <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.4 > <Adaptec 2940 Ultra2 SCSI adapter> > aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs > > Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.01 > Type: CD-ROM ANSI SCSI revision: 02 >(scsi1:A:4): 20.000MB/s transfers (20.000MHz, offset 15) > Vendor: HP Model: C1557A Rev: U709 > Type: Sequential-Access ANSI SCSI revision: 02 >(scsi2:A:6): 10.000MB/s transfers (10.000MHz, offset 32) > Vendor: HP Model: C1557A Rev: U709 > 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 scsi2, channel 0, id 6, lun 0 >Attached scsi CD-ROM sr0 at scsi1, channel 0, id 4, lun 0 >sr0: scsi-1 drive >Uniform CD-ROM driver Revision: 3.12 >Attached scsi generic sg2 at scsi2, channel 0, id 6, lun 1, type 8 This should be the ^^^ correct device for the changer
Perms might have to be fiddled with. Heres mine from the device I'm using: crw-rw---- 1 root disk 21, 1 Aug 30 2002 /dev/sg1 -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.26% 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.
