This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Wednesday, March 2, 2016

How to find WWPN (world wide port name) WWNN (world wide node name) and of my QLogic card in Linux Server

The directory /proc/scsi/qla2xxx/ is not available in Red Hat Enterprise Linux 5, but the informations can now be found in the /sys/class/scsi_host/ tree.

    Locate the file called isp_name in /sys/class/scsi_host/.
    # ls /sys/class/scsi_host/*/isp_name


    # ls /sys/class/scsi_host/*/device/fc_host:*/port_name


    # cat /sys/class/scsi_host/host1/device/fc_host:host1/port_name

    # ls /sys/class/scsi_host/*/device/fc_host:*/node_name


    # cat /sys/class/scsi_host/host1/device/fc_host:host1/node_name


    From that directory, look for port_name& and node_name