SSD写入量达到设计极限,颗粒擦写寿命耗尽后会导致磁盘写入速度非常缓慢,读取正常。
使用smartctl及raid卡管理软件查看硬盘smart信息可以发现Media_Wearout_Indicator值降为1,表明寿命完全耗尽。
涉及范围所有SSD处理方案查看SSD smart信息方法:1、使用storcli64查看阵列卡下挂载的设备序号./storcli64 -pdlist -a0 |grep Id |awk '{print $3}'Device Id: 17Device Id: 18......2、根据磁盘Media_Wearout_Indicator值判断是否寿命耗尽smartctl -a --device=sat+megaraid,17 /dev/sda | grep 'Media_Wearout_Indicator'smartctl -a --device=sat+megaraid,18 /dev/sdb | grep 'Media_Wearout_Indicator'其中sda,sdb为硬盘所属raid在OS下的盘符3、 固态硬盘的保修期除了会受到使用年限的影响之外,还可能会受到能够写入硬盘的最大数据量的影响,最大数据量由硬盘的具体生产厂家以及具体型号决定。如果经浪潮公司鉴定,硬盘的写入数据量已达到或超过最大限制,浪潮公司将不会按照保修政策予以维修和更换”故障根因SSD闪存颗粒寿命耗尽********************************************smart完整输出SMART Attributes Data Structure revision number: 1Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 9738 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 8170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 6175 Program_Fail_Count_Chip 0x0033 100 100 010 Pre-fail Always - 283468968878183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0190 Airflow_Temperature_Cel 0x0022 075 075 000 Old_age Always - 25 (Min/Max 18/25)192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 6194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 25197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 68389846226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 55828227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 584249232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0233 Media_Wearout_Indicator 0x0032 046 046 000 Old_age Always - 0234 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 68389846242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 1011243 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 78504917intel SSD
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0233 Media_Wearout_Indicator 0x0032 046 046 000 Old_age Always - 0
http://www.zhongyaoit.com/news/industry/315.html
CentOS下查看 ssd 寿命安装必要的软件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 的时候跟上 ,1smartctl -a -d sat+megaraid,1 /dev/sdc | grep Media_Wearout_IndicatorWear 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
来源地址:https://blog.csdn.net/weixin_45720992/article/details/132492368