sas3ircu & storcli64命令定位故障硬盘并点亮硬盘灯💡
1.发现存储硬盘故障
2.点击详情,发现硬盘设备符
3.通过smartctl命令验证sdai盘是否存在问题,# smartctl -H /dev/sdai
3.获取故障盘SN,smartctl -a /dev/sdai|grep Serial
4.获取故障盘位置,# storcli64 /c0 /eall /sall show all | vim -
5.将定位到的故障盘进行点亮,# storcli64 /c0/e8/s11 start locate
6.更换完后将硬盘灯灭掉,# storcli64 /c0/e8/s11 stop locate
7.sas3ircu命令,参考链接
./sas3ircu/sas3ircu 0 display | grep ZL2HWA5A ./sas3ircu/sas3ircu 1 display | grep ZL2HWA5A ./sas3ircu/sas3ircu 1 display ./sas3ircu/sas3ircu 1 display | grep ZL2HWA5A -A3 -B8 dmidecode -t 1 ./sas3ircu/sas3ircu 1 locate 2:13 on ./sas3ircu/sas3ircu 1 locate 2:13 off
Linux硬盘的检测--smartctl详细介绍
参考链接
不积跬步,无以至千里;不积小流,无以成江海。