It is possible to get an estimation on the health status of the device by checking the parameters
EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A
andEXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B
.
The estimation is given in steps of 10% so a value of 0x01 means that 0% to 10% life time used.
This functionality was introduced in eMMC 5.0.# mmc extcsd read /dev/mmcblk2 | grep EXT_CSD_DEVICE_LIFE_TIME_EST eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x01 eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x01
It's a bit tricky to find how to get an estimated SSD lifetime for an eMMC board, but here is how to use and read mmc
tool (from mmc-utils) for that.
This is similar to SMART's SSD_Life_Time
, although the value is a bit counterintuitive.