本文共 1511 字,大约阅读时间需要 5 分钟。
SOLUTION UNVERIFIED - 已更新 2017年八月25日05:11 -
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/