Linux

RAID 狀態監控 HPE Smart Array E208i-p SR Gen10

  • October 10, 2020

應該不難,但我不知道如何在 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 CLI相同:Error: No controllers detected.

編輯:這有點令人困惑,因為這台伺服器有兩個 RAID 控制器,但到目前為止都沒有工作,所以問題是一樣的。

這是lspci -vE208i-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"

編輯:在稍微訂購的伺服器上,使用“Hewlett-Packard Company Smart Array Gen9 Controllers (rev 01) / Hewlett-Packard Company P440”,該hpssacli工具確實可以工作。

我在使用 P408i-a 和舊版本的 ssacli (ssacli-2.60-19.0) 時遇到了同樣的問題。我能夠通過使用更新版本的 ssacli (ssacli-4.17-6.0) 來解決它。

對於那裡的 Red Hat 使用者:安裝 HP 儲存庫(密鑰文件可在 HP 儲存庫頁面上找到);然後你可以使用你的包管理器來安裝:

[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

引用自:https://serverfault.com/questions/1026114