版權聲明:原創作品,謝絕轉載!否則將追究法律責任。 ————— 作者:kirin Linux 定位伺服器硬碟槽位的方法 1、安裝sas3ircu工具 2、獲取磁碟SN號碼 2.1、使用smartctl命令獲取 smartctl -a /dev/sd* |grep Serial 2.2、查看文件獲取 ...
版權聲明:原創作品,謝絕轉載!否則將追究法律責任。 ————— 作者:kirin
Linux 定位伺服器硬碟槽位的方法
1、安裝sas3ircu工具
2、獲取磁碟SN號碼
2.1、使用smartctl命令獲取
smartctl -a /dev/sd* |grep Serial
2.2、查看文件獲取
ll /dev/disk/by-id/ |grep sd*
3、通過硬碟SN號碼查看硬碟槽位
./sas3ircu 0 display |grep $(硬碟SN號碼) -A 3 -B 8
4、小例子
4.1、將定位到的故障盤進行點亮,# storcli64 /c0/e8/s11 start locate
4.2、更換完後將硬碟燈滅掉,# storcli64 /c0/e8/s11 stop locate
本文來自博客園,作者:kirin(麒麟),轉載請註明原文鏈接:https://www.cnblogs.com/kirin365/p/17920266.html