博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【转】How can I get firmware version of a Qlogic HBA card?
阅读量:3513 次
发布时间:2019-05-20

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

How can I get firmware version of a Qlogic HBA card?

 SOLUTION UNVERIFIED - 已更新 2017年八月25日05:11 - 

环境

  • Red Hat Enterpise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • QLogic HBA

问题

  • How can I get firmware version of a Qlogic HBA card?

决议

  • The HBA adapter bootcode (BIOS and Firmware) details can be seen within optrom and optrom_ctl files within sysfs. For example:

    # lsscsi -H |grep qla[2]    qla2xxx       [3]    qla2xxx # ls -1c /sys/class/scsi_host/host*/optrom_fw_version | cut -d'/' -f 5 | \     xargs -I {} sh -c 'grep -Hv "zz" /sys/class/scsi_host/{}/optrom*version'/sys/class/scsi_host/host2/optrom_bios_version:2.16/sys/class/scsi_host/host2/optrom_efi_version:2.27/sys/class/scsi_host/host2/optrom_fcode_version:3.13/sys/class/scsi_host/host2/optrom_fw_version:5.03.06 1154/sys/class/scsi_host/host2/optrom_gold_fw_version:/sys/class/scsi_host/host3/optrom_bios_version:2.16/sys/class/scsi_host/host3/optrom_efi_version:2.27/sys/class/scsi_host/host3/optrom_fcode_version:3.13/sys/class/scsi_host/host3/optrom_fw_version:5.03.06 1154/sys/class/scsi_host/host3/optrom_gold_fw_version:
  • An alternative method is to use the systool to retrieve this information. This method requires the sysfsutils package be installed, ie:

    # systool -c scsi_host -v -d host2 | grep optrom    optrom_bios_version = "2.16"    optrom_efi_version  = "2.27"    optrom_fcode_version= "3.13"    optrom_fw_version   = "5.03.06 1154"    optrom_gold_fw_version= ""      optrom              =       optrom_ctl          = 

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

你可能感兴趣的文章
[HDU 1215] 七夕节(求因子,不超时)
查看>>
[POJ 1915] Knight Moves
查看>>
Memcache技术精华
查看>>
Redis详解入门篇
查看>>
php开启redis扩展包与redis安装
查看>>
php使用openssl来实现非对称加密
查看>>
pdo如何防止 sql注入
查看>>
myisam和innodb的区别
查看>>
MySQL建表规范与注意事项(个人精华)
查看>>
JDK8接口的新特性
查看>>
synchronized的局限性与lock的好处
查看>>
redis和memcached有什么区别?
查看>>
Spring中的设计模式
查看>>
如何设计一个秒杀系统 -- 架构原则
查看>>
如何设计一个秒杀系统 -- 动静分离方案
查看>>
JWT 快速了解
查看>>
实习日志一
查看>>
排序算法稳定性
查看>>
图算法总结(判断有环、最短路径)
查看>>
spring中的类
查看>>