News for hackers. Stuff that matters.
Re:Real world SSD wearout by otterpro on Monday August 27, 2018 @02:04PM (#17853096)
Is the SMART attribute “media wearout indicator” only available on enterprise-grade SSD and not on consumer-grade SSD? I checked my Samsung SSD as well as NVMe drives and I didn't find it on CrystalDiskInfo.

EDIT: It looks like "wear leveling count" attribute is available on Intel (#233) and some high-end Samsungs (#177), as well as other SSD, but it's not on any of my SSD.

Re:Real world SSD wearout by vthriller on Monday August 27, 2018 @03:53PM (#17853939)
If you're using smartmontools, try running `update-smart-drivedb` first: those fancy attribute names don't come from drives themselves but are always interpreted from (model, firmware, attribute id) tuple by the software you're using to query disks.

Or you can just look for [0] directly if you just want to know what drives Media_Wearout_Indicator is currently defined for.

[0] https://raw.githubusercontent.com/mirror/smartmontools/maste...

Re:Real world SSD wearout by paavoova on Monday August 27, 2018 @02:46PM (#17853377)
I have both "177 Wear_Leveling_Count" and "233 Media_Wearout_Indicator" on an old Samsung SATA II consumer SSD. On a newer one, there's only Wear_Leveling_Count, but there's also "241 Total_LBAs_Written", which gives an interesting metric:

  $ sudo smartctl -A /dev/sda | awk '/177/ {print $2,$4} /241/ {printf "%.3f\n", $10 * 512 / 1024^3}'
  Wear_Leveling_Count 097
  4151.677
Just 4.1TiB written so far causes a 3% decrease in drive "endurance".
Re:Real world SSD wearout by apankrat on Monday August 27, 2018 @05:16PM (#17854626)
Pretty much all modern SSDs support an attribute called "Lifetime remaining", which is basically the same thing as the wearout indicator.

It's attribute 231 for many vendors, 169 for several others, 202 for Crucials and Micron.

Re:Real world SSD wearout by rzzzt on Monday August 27, 2018 @05:59PM (#17854923)
"Media wearout indicator" was recorded for OCZ drives, IIRC.
Re:Real world SSD wearout by true_tuna on Monday August 27, 2018 @07:06PM (#17855252)
You can enable it. I’ll dig through my notes for the command.