[CentOS7]查询FCSAN WWN

本示例有4个FC光口

[root@fileserver1 ~]# cat /sys/class/fc_host/host17/port_name 
0x100000109b620003
[root@fileserver1 ~]# cat /sys/class/fc_host/host16/port_name
0x100000109b620002
[root@fileserver1 ~]# cat /sys/class/fc_host/host18/port_name
0x100000109b5fffcc
[root@fileserver1 ~]# cat /sys/class/fc_host/host19/port_name
0x100000109b5fffcd

END

原文地址:https://www.cnblogs.com/leoshi/p/13268686.html