LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-04-2010, 01:27 PM   #1
listener
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Rep: Reputation: 0
SCSI ids


Is there a file in a native linux system that contains the scsi ids? And the mapping of these scsi ids to the HBAs or Disk Drives on the system?

Something like

scsi0 hba3
scsi1 mptsas

thanks,
-h
 
Old 03-04-2010, 02:43 PM   #2
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
Quote:
cat /proc/scsi/scsi
will list the scsi id's

optionally you can search dmesg and look for " channel "

Regards ,
JKZfixme

Last edited by jkzfixme; 03-04-2010 at 02:47 PM.
 
Old 03-04-2010, 03:51 PM   #3
listener
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks...is that the only one? I was hoping for something under /etc
 
Old 03-05-2010, 07:06 AM   #4
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
there is /etc/scsi_id.config , then you can get a uuid using # scsi_id -g -s /block/sd* however that really isn't quite what you were looking for.

Regards,
JKZfixme
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM found in /proc/scsi/scsi but no /dev entry. Trying to make livecd. simonb Linux - Hardware 1 11-29-2008 04:05 AM
adding pci device ids to pci.ids xerxex Linux - General 0 01-18-2006 06:36 PM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
How can I access my scsi hdd from dev/scsi/host1/bus0/target0/lun0 ?? marius7sv Linux - Hardware 0 09-06-2004 10:40 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM


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