lrwxrwxrwx 1 root root 0 Oct 26 17:10 host2 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host2
lrwxrwxrwx 1 root root 0 Oct 26 17:10 host3 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host3
lrwxrwxrwx 1 root root 0 Oct 26 17:10 host4 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host4
#ls -lrt /sys/class/fc_transport/
drwxr-xr-x 2 root root 0 May 27 09:40 target7:0:2
drwxr-xr-x 2 root root 0 May 27 09:40 target7:0:1
drwxr-xr-x 2 root root 0 May 27 09:40 target7:0:0
drwxr-xr-x 2 root root 0 May 27 09:40 target5:0:2
drwxr-xr-x 2 root root 0 May 27 09:40 target5:0:1
drwxr-xr-x 2 root root 0 May 27 09:40 target5:0:0
# cat /sys/class/fc_host/host?/port_name
0x500143802426baf2
0x500143802426baf3
0x500143802426baf4
0x500143802426baf5
# cat /sys/class/fc_host/host1/node_name
0x500143802426baf2
# yum install sysfsutils
# systool -c fc_host -v | grep port_name
port_name = "0x500143802426baf2"
port_name = "0x500143802426baf3"
port_name = "0x500143802426baf4"
port_name = "0x500143802426baf5"
# systool -c fc_host -v | grep port_state
port_state = "Online"
port_state = "Online"
port_state = "Online"
port_state = "Online"
#systool -c fc_transport -v