MegaCLI 清除 Foreign 配置
查看raid卡状态
sh mega.sh
查看硬盘状态
MegaCli64 -PDList -aALL设置硬盘状态到 Unconfigured Good.
MegaCli64 -PDMakeGood -PhysDrv[8:1] -a0如果有F状态,那么先执行,扫描和删除foreign配置
MegaCli64 -CfgForeign -Scan -a0
MegaCli64 -CfgForeign -Clear -a0然后再执行,设置成热备盘
MegaCli64 -PDHSP -Set -PhysDrv[8:1] -a0