LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07:45 PM   #1
designator
Member
 
Registered: Jun 2003
Location: Santa Barbara, CA
Distribution: OpenSUSE 12.2
Posts: 108

Rep: Reputation: 16
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 07:47 PM.
 
Old 07-02-2008, 11:18 AM   #2
designator
Member
 
Registered: Jun 2003
Location: Santa Barbara, CA
Distribution: OpenSUSE 12.2
Posts: 108

Original Poster
Rep: Reputation: 16
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:01 AM
Need scsi command to get serial number of a scsi tape romeshs Programming 1 09-04-2006 07:24 AM
DLT Tape Library synpse Linux - Hardware 1 02-22-2005 01:34 PM
Problem with SCSI tape drive on RH8 machine nicktoop Linux - Hardware 9 02-12-2004 11:10 AM


All times are GMT -5. The time now is 01:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration