I have a hba card with two ports (port 0) and (port 1) and I want to know how can obtaining using OS the info to mapping the wwn that I can see using fcinfo hba-port command to a port of the hba card.
For example: If I have a WWN ending on xxxx890B, see that wwn is on port 0 of the hba card.