User Tools

Site Tools


san_fc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

san_fc [2012/08/29 11:39]
root [HBA brand]
san_fc [2013/12/18 12:40] (current)
root
Line 3: Line 3:
 ===== Determine FC ID (WWN) ===== ===== Determine FC ID (WWN) =====
  
-RHEL 4.x or earlier, to find the WWN run the cat /​proc/​scsi/​adapter_type/​n command, where adapter_type is the host adapter type, and n is the host adapter number for your card. In most cases, the adapter type is qla2xxx.+==== RHEL 4.x or earlier ​==== 
 + 
 +To find the WWN run the cat /​proc/​scsi/​adapter_type/​n command, where adapter_type is the host adapter type, and n is the host adapter number for your card. In most cases, the adapter type is qla2xxx.
  
   cat /​proc/​scsi/​adapter_type/<​n>​   cat /​proc/​scsi/​adapter_type/<​n>​
  
-RHEL 5.x or later, the adapter WWN information can be found:+==== RHEL 5.x or later ==== 
 + 
 +The adapter WWN information can be found:
  
   cat /​sys/​class/​fc_host/​host<​n>/​port_name   cat /​sys/​class/​fc_host/​host<​n>/​port_name
Line 13: Line 17:
   cat /​sys/​class/​fc_host/​host5/​port_name   cat /​sys/​class/​fc_host/​host5/​port_name
   0x5001438002a30302   0x5001438002a30302
 +
 +
 +===== Determine if FC link is online =====
 +
 +==== RHEL 5.x or later ====
 +
 +  cat /​sys/​class/​fc_host/​host*/​port_state
 +
   ​   ​
-===== HBA brand =====+===== Find HBA brand ===== 
 + 
 +==== Method 1 ====
  
   lspci | grep -i fibre   lspci | grep -i fibre
Line 20: Line 34:
   08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)   08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
   ​   ​
-  ​cat sys/​class/​scsi_host/​host*/model_name+==== Method 2 ==== 
 +     
 +  ​cat /sys/​class/​scsi_host/​host<n>/model_name 
 +  QMH2462 
 + 
 ===== HBA firmware ===== ===== HBA firmware =====
  
san_fc.1346240382.txt.gz · Last modified: 2012/08/29 11:39 by root