LinuxQuestions.org
Review your favorite Linux distribution.
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 10-14-2008, 02: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, 10: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, 10: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, 10: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, 01:53 PM   #5
Dean Guilberry
LQ Newbie
 
Registered: Apr 2010
Posts: 11

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, 11:13 AM   #6
Dean Guilberry
LQ Newbie
 
Registered: Apr 2010
Posts: 11

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



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 04:57 AM
Adding HBA card /LUNs to domU omkarbapat Linux - Distributions 0 02-19-2007 12:35 AM
additional HBA card sachinh Linux - Hardware 1 09-24-2006 10:55 AM
HBA cards sachinh Linux - Hardware 0 06-10-2005 04:54 AM
How do I install QLA2100 fc HBA card? wuhao1001 Red Hat 0 03-09-2004 08:46 PM

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

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