首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Marvell 88SE9230上的Linux。如何获得统计数据?

Marvell 88SE9230上的Linux。如何获得统计数据?
EN

Unix & Linux用户
提问于 2022-01-27 16:14:10
回答 1查看 1.3K关注 0票数 1

我在我的家庭Linux服务器上使用Marvell 88SE9230控制器。惠普确实有设置raid和获取一些统计数据的实用程序。但我想知道如何从Linux系统获得任何状态。快速googling只显示Linux驱动程序在以前版本的内核上访问数组本身,但我想知道驱动器的智能状态。

Smartctl不工作:

代码语言:javascript
运行
复制
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

我怎么能从控制器那里得到至少一些数据呢?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2022-04-03 17:47:35

可以证实,这里同样缺乏支持(当试图通过Marvel芯片组从设备上获取智能统计数据时,输出与OP完全相同)。

代码语言:javascript
运行
复制
:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11)

Linux fermmy 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  *-sata
       description: SATA controller
       product: 88SE9230 PCIe SATA 6Gb/s Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 11
       width: 32 bits
       clock: 33MHz
       capabilities: sata pm msi pciexpress ahci_1.0 bus_master cap_list rom
       configuration: driver=ahci latency=0
       resources: irq:43 ioport:d050(size=8) ioport:d040(size=4) ioport:d030(size=8) ioport:d020(size=4) ioport:d000(size=32) memory:fc710000-fc7107ff memory:fc700000-fc70ffff

我看到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

遵循自述指令:) -然后我们可以看到:

代码语言:javascript
运行
复制
    ~/projects/marvell_msu_docker$ docker-compose run --rm msu cli
SG driver version 3.5.36.
CLI Version: 4.1.10.42   RaidAPI Version: 2.3.10.1088
Welcome to RAID Command Line Interface.

> info -o vd

Virtual Disk Information
-------------------------
id:                  0
name:                RAID1_SSD
status:              functional
Stripe size:         64
RAID mode:           RAID1
Cache mode:          Not Support
size:                488306 M
BGA status:          not running
Block ids:           4 0 
# of PDs:            2
PD RAID setup:       3 2 
Running OS:          no

Total # of VD:       1

奖励:甚至网络用户界面实际上是有效的!

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/688194

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档