Hacker News new | ask | show | jobs
by dcm360 1290 days ago
Most SSD's will provide metrics that are quite readable for estimating the lifetime left for the drive. Most nvme-drive expose a line with 'Percentage used' in the nvme log (just use smartctl to read the nvme log). With sata-drives it is a bit more hit or miss, but the couple of drives I have lying around at the moment record wear leveling in Wear_Leveling_Count, which does provide the raw wear leveling count and the lifetime left as normalized VALUE.
2 comments

Hard Disk Sentinel is great for helping with this. The developer has been at it for years, figured out all kinds of quirks of different disks and controllers.
>just use smartctl to read the nvme log

"sudo smartctl -l ssd /dev/sdaWhatever", for anyone interested.

     apt install smartmontools
If you're using Ubuntu, just ask your system administrator to check on your drive for you :^)