我在我的家庭 Linux 服务器上使用 Marvell 88SE9230 控制器。惠普确实有设置突袭和获取一些统计数据的实用程序。但我想知道如何从 Linux 系统获得任何状态。快速谷歌搜索仅显示用于访问以前版本内核上的阵列本身的 Linux 驱动程序,但我想知道驱动器的 SMART 状态。
Smartctl 不起作用:
root@iris:~# smartctl -a -d marvell -T verypermissive /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-96-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: Unknown error
=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: [No Information Found]
Local Time is: Thu Jan 27 19:11:54 2022 MSK
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
Read SMART Data failed: Success
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: Success
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.
Read SMART Error Log failed: Success
Read SMART Self-test Log failed: Success
Selective Self-tests/Logging not supported
如何从控制器中获取至少一些统计信息?
可以确认,这里同样缺乏支持(在尝试通过 Marvel 芯片组从设备获取 SMART 统计信息时,输出与 OP 完全相同)。
我认为 Marvell 没有直接可行的选择。https://www.marvell.com/support/downloads.html
—— 但是看这里!
https://support.lenovo.com/ca/en/downloads/ds539334-marvell-storage-utility-for-linux-for-linux
理论上......这应该可以正常工作吗?我们试试看。
我在 Ubuntu 上,不想在 CentOS 衍生产品上进行这项工作;幸运的是,有人已经完成了所有繁重的工作:信用:https ://github.com/stegm/marvell_msu_docker
一些小事情已经过时了,我在这个分支中修复/改进了: https ://github.com/fermulator/marvell_msu_docker
按照 README 说明 :) - 然后我们可以看到:
奖励:即使是 Web UI 也确实有效!