LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-31-2013, 07:39 AM   #1
linux.doubts
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
How to identify physical location of tape drive attached to Linux box from OS end


Hello Friends,
I have one linux box where I have three Fiber Channel Cards (dual ports) attached. And I have four Tape Drives attached to these. How do I know to which physical ports on these cards is these tape drives attached ?

I understand The Fiber Channel Card in itself is identified as a device and the tape drives attached to the same will be identified as a child device (Correct me if I am wrong). If I have explain too much about my doubt. Here is my doubt in a single sentance.

How do I identify the physical port on my Fiber Channel Card to which my tape drives are attached ?

I am herewith pasting lspci / lsscsi and dmesg outputs for your reference. Kindly request you all to help me understand the mechanism by which the OS identifies the phyical devices attached ? Please explain one more thing as to what those numbers at the start of each line,seperated by Colon denotes and how to interpret them ?

# lspci |grep -i fibre
04:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
04:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
05:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
05:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
85:01.0 Fibre Channel: Emulex Corporation Helios-X LightPulse Fibre Channel Host Adapter (rev 01)
85:01.1 Fibre Channel: Emulex Corporation Helios-X LightPulse Fibre Channel Host Adapter (rev 01)

# dmesg |grep -i tape
st 1:0:0:0: Attached scsi tape st0
st 2:0:0:0: Attached scsi tape st1
st 2:0:1:0: Attached scsi tape st2
st 4:0:0:0: Attached scsi tape st3

# lsscsi |grep tape
[1:0:0:0] tape IBM ULT3580-TD5 CBX0 /dev/st0
[2:0:0:0] tape IBM ULT3580-TD5 CBX0 /dev/st1
[2:0:1:0] tape IBM ULT3580-TD5 CBX0 /dev/st2
[4:0:0:0] tape IBM ULT3580-TD5 CBX0 /dev/st3



Looking forward to hear from the experts.

Thanks and Regards
Nidhin Tomson

Last edited by linux.doubts; 12-31-2013 at 07:42 AM. Reason: Adding more details.
 
Old 01-02-2014, 11:05 AM   #2
linux.doubts
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
can anyone help me finding a solution for this ?
 
Old 01-02-2014, 11:20 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by linux.doubts View Post
can anyone help me finding a solution for this ?
Don't bump your own posts; all you've done is remove your original post from the zero-reply list, making it LESS VISIBLE and LESS LIKELY to be answered. Also, without knowing what version/distro of Linux you're using, and what you're trying to accomplish, there's not much we can tell you.

The numbers at the start of the lines are the controller-identifiers. You don't say where you got the Emulex drivers or how you installed them, but the Emulex manuals can tell you much about the cards and how they operate.
 
  


Reply



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
Can't start the box unless external hard drive attached ! heviiguy Linux - Newbie 4 07-29-2010 10:59 AM
Is Tar file to tape drive faster than dir/files to tape drive? Runge_Kutta Linux - General 2 03-11-2009 07:13 AM
How do I use QIC-02 tape drive attached to floppy controller jlatl69 Linux - Hardware 2 01-05-2007 05:29 PM
How do I get my Suse 9.1 box to print to the printer attached to my Win XP box? PadreFabuloso Linux - Newbie 2 06-23-2005 04:06 PM
A tape drive and a Solaris box allocate Linux - Hardware 3 07-29-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:54 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