IE ::

IE ::

因此,当我运行“MegaCli64 -PDlist -aALL -NoLog | egrep 'Slot|state|Inquiry|Enclosure'”以获取磁盘及其状态的列表时。我可以看到总共 36 个磁盘。问题是它们具有相同的插槽号,而 megacli 表示通过 EnclosureID 和 SlotNumber 引用磁盘。如何引用具有相同插槽号和 cabinetID 的不同磁盘::

IE ::

Slot Number: 8
Enclosure position: 0
Firmware state: Unconfigured(bad)
Inquiry Data:      WD-WCAVY6576736WDC WD2002FYPS-02W3B0                   04.01G01
Enclosure Device ID: 37
Slot Number: 8
Enclosure position: 0
Firmware state: Online, Spun Up
Inquiry Data:      WD-WCAVY6614815WDC WD2002FYPS-02W3B0                   04.01G01
Enclosure Device ID: 37
Slot Number: 9
Enclosure position: 0
Firmware state: Unconfigured(bad)
Inquiry Data:      WD-WCAVY6623834WDC WD2002FYPS-02W3B0                   04.01G01
Enclosure Device ID: 37
Slot Number: 9
Enclosure position: 0
Firmware state: Rebuild
Inquiry Data:      WD-WMAY00411420WDC WD2003FYYS-02W0B0                   01.01D01

从上图中我们可以看到,插槽 8 和 9 上的两个磁盘序列不同,状态也不同。

如果我尝试检查重建状态::

# MegaCli64 -pdrbld -progdsply -physdrv[37:9] -aall

Device(Encl-37 Slot-9) is not in rebuild process

Clearly the drive is indeed in a rebuild process. 

日志还显示驱动器正在重建。它已经重建了一天的大部分时间,我只是想了解一下状态。

我环顾四周,除了“MegaCli64 -PDInfo 显示驱动器但其他命令说设备不存在”之外,我没有看到任何相关的先前问题,这似乎已经死了。

我希望更详细一点可能会比其他线程产生更好的结果。


感谢 toppledwagon,我也尝试过指定 -a0 -a1 和 -a2。只有适配器,但我认为这不会有什么坏处。

root@bioc-aoe1-rglab:/opt/MegaRAID/MegaCli# ./MegaCli64 -CfgDsply -a0 | head

==============================================================================
Adapter: 0
Product Name: Supermicro SMC2108
Memory: 512MB
BBU: Present
Serial No: 
==============================================================================
Number of DISK GROUPS: 2

root@bioc-aoe1-rglab:/opt/MegaRAID/MegaCli# ./MegaCli64 -CfgDsply -a1 | head

User specified controller is not present.
Failed to get CpController object.

Exit Code: 0x01
root@bioc-aoe1-rglab:/opt/MegaRAID/MegaCli# ./MegaCli64 -CfgDsply -a2 | head

User specified controller is not present.
Failed to get CpController object.
Exit Code: 0x01

相关内容