No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAN Storage Host Connectivity Guide for Red Hat

HUAWEI SAN Storage Host Connectivity Guide for Red Hat Servers

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Identifying HBAs

Identifying HBAs

After an HBA is installed on a host, run the following command on the host to check whether the HBA is identified by the host.

[root@localhost ~]# lspci|grep Fibre 
03:00.0 Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03) 
03:00.1 Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03) 
[root@localhost ~]# 
[root@localhost ~]# cat /sys/class/scsi_host/host*/model*name 
LPe12002    
LPe12002

The output indicates that the host has identified two Fibre Channel host ports and the HBA model is Emulex LPe12002.

The method for viewing the HBA WWN varies according to the operating system. The following describes the methods on different operating systems.

Red Hat 4

Run the following command on the host:

# grep scsi /proc/scsi/qla2xxx/3 
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 
scsi-qla0-adapter-node=20000018822d7834; 
scsi-qla0-adapter-port=21000018822d7834; 
scsi-qla0-target-0=202900a0b8423858; 
scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;

Red Hat 5 and Later Versions

Run the following command on the host:

# cat /sys/class/fc_host/hostx/port_name
Download
Updated: 2020-01-17

Document ID: EDOC1000150157

Views: 68589

Downloads: 2062

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next