Short tip: Get WWN port names under Linux

To find out the WWN port name of a HBA under Linux, reading the port_name file is sufficient - e.g. for all HBAs:

1$ cat /sys/class/scsi_host/host*/device/fc_host/host*/port_name
20x2002f6dc44b8e2b6
30x2001f6dc44b8e2b6

Translations: