安装必要的软件
yum install -y MegaCli Lib_Utils
得到 device id
/opt/MegaRAID/MegaCli/MegaCli64 -LdPdInfo -aALL | grep -B 30 'Solid State Device' | grep 'Device Id'
我这里得到的是 1, 下面用 smartctl 的时候跟上 ,1
smartctl -a -d sat+megaraid,1 /dev/sdc | grep Media_Wearout_Indicator
Wear Levelling Count(颗粒平均擦写次数):最后一列为 0,即这块硬盘的全盘写入/擦除(P/E)数为 0 次,显示还有 100% 的寿命.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
Leave a Reply