How Do I Get Wwpn in Linux?

How Do I Get Wwpn in Linux?
Contents

Where can I find Wwpn in Linux?

To locate the WWPN without restarting the host, you can use any of the following methods: For QLogic or Emulex adapters, you can find the WWPN in the /proc/scsi/ adapter_type / n directory, where adapter_type is the host adapter type and n is the host adapter number for your card.

How do I find the WWN in Linux?

Answer: Use one of the following methods to view the HBA WWN address on Linux.

  1. Method 1: /sys/class/scsi_host/host{n}/device/fc_host:host{n}/port_name File. …
  2. Method 2: /proc/scsi/{adapter-type}/{n} File. …
  3. If you enjoyed this article, you might also like..

20 авг. 2010 г.

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.