LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-14-2008, 03:33 AM   #1
compman
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Rep: Reputation: 0
how to configure a HBA card and see it's WWN ?


what is command that may allow me to see the detailed information of my installed Emulex HBA cards on a Red Hat Enterprise Linux4 setup? esp. on the WWNs of the cards and the speed ?
 
Old 10-14-2008, 11:25 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
you can check the files under:

/sys/class/scsi_host/host1/device/fc_host*
 
Old 10-14-2008, 11:41 PM   #3
compman
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by born4linux View Post
you can check the files under:

/sys/class/scsi_host/host1/device/fc_host*

hi,

but i only see these under /sys/class/scsi_host/host1/device
detach_state power
 
Old 10-16-2008, 11:53 PM   #4
compman
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by born4linux View Post
you can check the files under:

/sys/class/scsi_host/host1/device/fc_host*
hi,

thank you for advice, i found it /sys/class/scsi_host/host1/port_name
 
Old 04-19-2010, 02:53 PM   #5
Dean Guilberry
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Rep: Reputation: 1
wwn's in Redhat w qlogic cards

in Redhat with qLogic HBA's
cat /sys/class/fc_hosts/host1/port_name
cat /sys/class/fc_hosts/host2/port_name
 
1 members found this post helpful.
Old 10-15-2014, 12:13 PM   #6
Dean Guilberry
LQ Newbie
 
Registered: Apr 2010
Posts: 9

Rep: Reputation: 1
Find wwn in redhat

This is the methods I use to get details about the HBA's

To get HBA WWN info on host run:
“systool -c fc_host –v”

Rescan HBA w/o restarting server run:
systool -c fc_remote_ports -v –d


Or

cat /sys/class/fc_hosts/host1/port_name
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why gcc is needed for an HBA card? How to upgrade gcc enayet_v Linux - Newbie 3 11-17-2007 05:57 AM
Adding HBA card /LUNs to domU omkarbapat Linux - Distributions 0 02-19-2007 01:35 AM
additional HBA card sachinh Linux - Hardware 1 09-24-2006 11:55 AM
HBA cards sachinh Linux - Hardware 0 06-10-2005 05:54 AM
How do I install QLA2100 fc HBA card? wuhao1001 Red Hat 0 03-09-2004 09:46 PM


All times are GMT -5. The time now is 09:18 AM.

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