LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to configure a HBA card and see it's WWN ? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-configure-a-hba-card-and-see-its-wwn-676199/)

compman 10-14-2008 02:33 AM

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 ?

born4linux 10-14-2008 10:25 PM

you can check the files under:

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

compman 10-14-2008 10:41 PM

Quote:

Originally Posted by born4linux (Post 3310377)
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

compman 10-16-2008 10:53 PM

Quote:

Originally Posted by born4linux (Post 3310377)
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

Dean Guilberry 04-19-2010 01:53 PM

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

Dean Guilberry 10-15-2014 11:13 AM

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


All times are GMT -5. The time now is 02:54 AM.