V
V
vlarkanov2018-12-28 10:11:27
linux
vlarkanov, 2018-12-28 10:11:27

How to find out the Host Port Identifier of an FC card?

Hello! There is a Dell 620 server with Proxmox 5.1 installed on it.
The following card is installed on the server:

lspci | grep -i fiber
05:00.0 Fiber Channel: QLogic Corp. ISP2532-based 8Gb Fiber Channel to PCI Express HBA (rev 02)
05:00.1 Fiber Channel: QLogic Corp. ISP2532-based 8Gb Fiber Channel to PCI Express HBA (rev 02)

The card is optically connected to a Dell MD3600-F disk shelf using multipath.
To allow the server access to the disks created in the shelf, you need to register a new host in the shelf (in my case, two hosts because there are two links), specifying its Host port identifier. Question: How can I find out the Host port identifier of my card? In the case of another similar card, I found the necessary data in the BIOS of the card itself, but I did not find it on this one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vlarkanov, 2018-12-28
@vlarkanov

So, I figured it out myself. We need the sysfsutils utility. We install it from the standard repositories
We look at the status

systool -c fc_host -v | grep port_state
port_state = "Online"
port_state = "Online"

Great, the ports are visible.
Now we learn WWN:
systool -c fc_host -v | grep port_name
port_name = "0x21000024ff3c00c2"
port_name = "0x21000024ff3c00c3"

So we learned that our Host port identifiers are:
21:00:00:24:ff:3c:00:c2
21:00:00:24:ff:3c:00:c3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question