Dell R730 raid1换盘后不自动Rebuild

一台R730 raid1坏了一块盘,更换后发现没有rebuild。
在linux系统下查看如下:
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL|grep state

查看有问题硬盘是0号槽位,如下:
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL

复制代码
Adapter #0

Enclosure Device ID: 32
Slot Number: 0
Drive's postion: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: 0
Device Id: 0
WWN: 5000C50076EAF9F0
Sequence Number: 1
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 279.396 GB [0x22ecb25c Sectors]
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
Coerced Size: 278.875 GB [0x22dc0000 Sectors]
Firmware state: Unconfigured(good), Spun Up
复制代码

 查看丢失的raid信息:
/opt/MegaRAID/MegaCli/MegaCli64 -PdGetMissing -a0



查看RAID卡是否有外来配置:
/opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Scan a0

清理外部配置(新换的盘不纯净,里边有以前的raid信息):
/opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -clear -a0

 替换:
/opt/MegaRAID/MegaCli/MegaCli64 -PdReplaceMissing -PhysDrv[32:0] -array0,row0 -a0
注:32是raid卡设备id号,0是硬盘槽位id号。

重新rebuild
/opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -Start -PhysDrv [32:0] -a0
执行后发现换的盘开始 Rebuild 了

查看raid重建的进度:
/opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -PhysDrv [32:0] -a0
或:
/opt/MegaRAID/MegaCli/MegaCli64 -pdrbld -ProgDsply  -physdrv[32:0] -a0

参考:
http://www.cnweed.com/archives/4303/
https://blog.51cto.com/tenderrain/1875930

posted @   莫让年华付水流  阅读(982)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
点击右上角即可分享
微信分享提示