博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【转】How can I check the port status of my fibre channel HBA?
阅读量:3511 次
发布时间:2019-05-20

本文共 1649 字,大约阅读时间需要 5 分钟。

How can I check the port status of my fibre channel HBA?

 SOLUTION UNVERIFIED - 已更新 2017年十一月3日22:03 - 

环境

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

问题

  • Need to check the port status of my fibre channel HBA

决议

  • The state of the port can be checked within the /sys/class directory either via
$ 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
  • If the port state shows "Linkdown" please check the LEDs on the HBA and the HBA BIOS for any information on the failure.

转载地址:http://hwhmj.baihongyu.com/

你可能感兴趣的文章
[LeetCode javaScript] 53.最大子序和
查看>>
[LeetCode javaScript] 101. 对称二叉树
查看>>
[LeetCode javaScript] 860. 柠檬水找零
查看>>
[LeetCode javaScript] 118. 杨辉三角
查看>>
[LeetCode javaScript] 905. 按奇偶校验排序数组
查看>>
[LeetCode javaScript] 617. 合并二叉树
查看>>
[LeetCode javaScript] 292. Nim游戏
查看>>
[LeetCode javaScript] 896. 单调数列
查看>>
[LeetCode javaScript] 804. 唯一摩尔斯密码词
查看>>
[LeetCode javaScript] 476. 数字的补数
查看>>
[LeetCode javaScript] 811. 子域名访问计数
查看>>
[LeetCode javaScript] 414. 第三大的数
查看>>
[LeetCode javaScript] 242. 有效的字母异位词
查看>>
[LeetCode javaScript] 75. 颜色分类
查看>>
[LeetCode javaScript] 179. 最大数
查看>>
[LeetCode javaScript] 56. 合并区间
查看>>
[LeetCode javaScript] 190. 颠倒二进制位
查看>>
[LeetCode javaScript] 521. 最长特殊序列 Ⅰ
查看>>
[LeetCode javaScript] 806. 写字符串需要的行数
查看>>
[LeetCode javaScript] 868. 二进制间距
查看>>