本文共 1649 字,大约阅读时间需要 5 分钟。
SOLUTION UNVERIFIED - 已更新 2017年十一月3日22:03 -
$ systool -c fc_host -v from sysfsutils packageClass = "fc_host" Class Device = "host10" Class Device path = "/sys/class/fc_host/host10" fabric_name = "0x200000e08b8068ae" issue_lip = node_name = "0x200000e08b8068ae" port_id = "0x000000" port_name = "0x210000e08b8068ae" port_state = "Linkdown" port_type = "Unknown" speed = "unknown" supported_classes = "Class 3" supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit" symbolic_name = "QLE2460 FW:v5.06.03 DVR:v8.03.07.15.05.09-k" system_hostname = "" tgtid_bind_type = "wwpn (World Wide Port Name)" uevent = Device = "host10" Device path = "/sys/devices/pci0000:00/0000:00:04.0/0000:08:00.0/host10" optrom_ctl = reset = uevent = :.
or if sysfsutils package is not installed
$ grep -v "zZzZ" -H /sys/class/fc_host/host*/port_statesys/class/fc_host/host10/port_state:Linkdownsys/class/fc_host/host11/port_state:Onlinesys/class/fc_host/host12/port_state:Onlinesys/class/fc_host/host8/port_state:Onlinesys/class/fc_host/host9/port_state:Online
转载地址:http://hwhmj.baihongyu.com/