LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2008, 06:45 PM   #1
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Rep: Reputation: 37
SCSI Tape Library on Virtual Machine


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.
 
Old 07-02-2008, 10:18 AM   #2
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Original Poster
Rep: Reputation: 37
I found the following in /var/log/messages:
Code:
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.

Any suggestions?
 
  


Reply

Tags
backup, scsi, tape, vmware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IBM TS3200 Tape Library - SCSI Bus Reset on Restores joshnya Linux - Hardware 1 05-02-2008 08:01 AM
Need scsi command to get serial number of a scsi tape romeshs Programming 1 09-04-2006 06:24 AM
DLT Tape Library synpse Linux - Hardware 1 02-22-2005 12:34 PM
Problem with SCSI tape drive on RH8 machine nicktoop Linux - Hardware 9 02-12-2004 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration