Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to move our backup server to a virtual machine on the same host which has Overland tape library (jukebox for 18 tapes) hooked up to it. I have very limited experience with SCSI devices and I'm not sure how to map the tape library to the virtual machine. How can translate something like /dev/nst0 to SCSI 0:6?
Host machine is running RHEL 4. Guest is CentOS 5.
I'm pretty much lost and running out of time. Any suggestions welcome.
Thanks.
Last edited by designator; 06-30-2008 at 06:47 PM.
Jul 1 17:13:46 kernel: scsi4 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
Jul 1 17:13:46 kernel: <Adaptec 2940 Ultra SCSI adapter>
Jul 1 17:13:46 kernel: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Jul 1 17:13:46 kernel:
Jul 1 17:13:46 kernel: (scsi4:A:5): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jul 1 17:13:46 kernel: Vendor: SONY Model: SDX-500C Rev: 010D
Jul 1 17:13:46 netfs: Mounting other filesystems: succeeded
Jul 1 17:13:46 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Jul 1 17:13:46 kernel: (scsi4:A:6): 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
Jul 1 17:13:46 kernel: Vendor: OVERLAND Model: LIBRARYPRO Rev: 0420
Jul 1 17:13:47 kernel: Type: Medium Changer ANSI SCSI revision: 02
Jul 1 17:13:47 kernel: st: Version 20040403, fixed bufsize 32768, s/g segs 256
Jul 1 17:13:47 kernel: Attached scsi tape st0 at scsi4, channel 0, id 5, lun 0
Jul 1 17:13:47 kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
Jul 1 17:13:47 kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg3 at scsi3, channel 0, id 0, lun 0, type 0
Jul 1 17:13:47 kernel: Attached scsi generic sg4 at scsi4, channel 0, id 5, lun 0, type 1
Jul 1 17:13:47 kernel: Attached scsi generic sg5 at scsi4, channel 0, id 6, lun 0, type 8
I assume that means the Tape library is mapped to /dev/sg5 and the tape drive inside it to /dev/sg4.
But I couldn't find what the controller was mapped to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.