检查服务器硬盘的状态,需要先进入raid软件:
cd /opt/MegaRAID/MegaCli/
查看硬盘的状态信息:
./MegaCli64 -PDList -aALL |grep "Firmware state"
查看所有的硬盘信息:
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL
执行外来盘导入的命令:
/opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Import -aall
原文地址:https://www.cnblogs.com/joybou/p/10710826.html
时间: 2024-11-01 16:54:30