这不应该这么难,但我不知道如何在 Linux 中的 HP ProLiant DL360 Gen10 中使用 HPE Smart Array E208i-p SR Gen10 监控 RAID 状态。
/proc
我在或中找不到文件/sys
。arcconf
说:Controllers found: 0
。ssacli controller all show
说:Error: No controllers detected.
- 同样HP SSA 命令行界面:
Error: No controllers detected.
编辑:这有点令人困惑,因为该服务器有两个 RAID 控制器,但到目前为止都没有工作,所以问题是一样的。
这是lspci -v
E208i-p 的输出:
11:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI 12G SAS/PCIe 3 (rev 01)
Subsystem: Hewlett-Packard Company Smart Array E208i-p SR Gen10
Physical Slot: 1
Flags: bus master, fast devsel, latency 0, IRQ 26, NUMA node 0
Memory at e2800000 (64-bit, non-prefetchable) [size=32K]
I/O ports at 4000 [size=256]
Capabilities: [80] Power Management version 3
Capabilities: [b0] MSI-X: Enable+ Count=64 Masked-
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [300] #19
Kernel driver in use: smartpqi
Kernel modules: smartpqi
P408i-a 的如下:
b1:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI 12G SAS/PCIe 3 (rev 01)
Subsystem: Hewlett-Packard Company Smart Array P408i-a SR Gen10
Flags: bus master, fast devsel, latency 0, IRQ 32, NUMA node 0
Memory at f3800000 (64-bit, non-prefetchable) [size=32K]
I/O ports at c000 [size=256]
Capabilities: [80] Power Management version 3
Capabilities: [b0] MSI-X: Enable+ Count=64 Masked-
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [300] #19
Kernel driver in use: smartpqi
Kernel modules: smartpqi
Linux 版本:
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
编辑:在稍微有序的服务器上,使用‘惠普公司智能阵列 Gen9 控制器 (rev 01)/惠普公司 P440’,该hpssacli
工具确实可以工作。
答案1
我在使用 P408i-a 和旧版本的 ssacli (ssacli-2.60-19.0) 时也遇到了同样的问题。我使用较新版本的 ssacli (ssacli-4.17-6.0) 解决了该问题。
答案2
对于 Red Hat 用户:安装 HP repo(密钥文件可在 HP repo 页面上找到);然后您可以使用包管理器来安装:
[hpsum]
name=HPE Smart Update Manager
baseurl=http://downloads.linux.hpe.com/repo/hpsum/rhel/7Server/x86_64/current/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-hpsum
[HP-mcp]
name=HP Management Component Pack for ProLiant
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/current/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp
[HP-spp]
name=HP Service Pack for ProLiant
baseurl=http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-ssp