From 8dc5e62534244acea8cdfc3439bcba8fb67fd846 Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Sun, 21 Feb 2010 12:58:42 +0100 Subject: [PATCH] Add S.M.A.R.T attributes for Samsung SSD Taken from: http://www.samsung.com/global/business/semiconductor/products/SSD/downloads/ds_SS805_NSSD_100_SLC_SATA_II_rev11.pdf Description: Attribute Name 175 Program Fail Count (Chip) 176 Erase Fail Count (Chip) 177 Wear Leveling Count 178 Used Reserved Block Count (Chip) 179 Used Reserved Block Count (Total) 180 Unused Reserved Block Count (Total) 181 Program Fail Count (Total) 182 Erase Fail Count (Total) 183 Runtime bad block (Total) Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libatasmart/+bug/885869 --- atasmart.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/atasmart.c b/atasmart.c --- a/atasmart.c +++ b/atasmart.c @@ -1317,6 +1317,15 @@ [170] = { "available-reserved-space", SK_SMART_ATTRIBUTE_UNIT_PERCENT, NULL }, [171] = { "program-fail-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [172] = { "erase-fail-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [175] = { "program-fail-count-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [176] = { "erase-fail-count-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [177] = { "wear-leveling-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [178] = { "used-reserved-blocks-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [179] = { "used-reserved-blocks-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [180] = { "unused-reserved-blocks", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [181] = { "program-fail-count-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [182] = { "erase-fail-count-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [183] = { "runtime-bad-blk-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [184] = { "end-to-end-error", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [187] = { "reported-uncorrect", SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors }, [188] = { "command-timeout", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, -- 1.7.0