Bug 48819

Summary: Add Support for OCZ-AGILITY2
Product: libatasmart Reporter: David Ayers <ayers>
Component: libraryAssignee: Lennart Poettering <lennart>
Status: NEW --- QA Contact: Lennart Poettering <lennart>
Severity: enhancement    
Priority: medium CC: zeuthen
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description David Ayers 2012-04-17 06:32:18 UTC
I've been trying to check whether/when my SSD should be replaced but found that the information presented by gnome-disk-utility isn't helpful.  I was pointed here to begin on the quest to have this fixed.

The disk is:
=== START OF INFORMATION SECTION ===
Model Family:     SandForce Driven SSDs
Device Model:     OCZ-AGILITY2
Serial Number:    OCZ-[sniped]
LU WWN Device Id: 5 e83a97 ff826958f
Firmware Version: 1.25
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 6
Local Time is:    Tue Apr 17 15:06:10 2012 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

MODEL:              OCZ-AGILITY2
FIRMWARE:           1.25
match smartmontools Drive Database entry:
MODEL REGEXP:       SandForce 1st Ed\.|ADATA SSD S599 .?..GB|Corsair CSSD-F(40|60|80|120|160|240)GBP?2.*|FTM(06|12|24|48)CT25H|OCZ[ -](AGILITY2([ -]EX)?|COLOSSUS2|ONYX2|VERTEX2|VERTEX-LE)( [123]\..*)?|OCZ[ -](VELO|VERTEX2[ -](EX|PRO))( [123]\..*)?|OCZ-VERTEX3|(APOC|DENC|DENEVA|FTNC|GFGC|MANG|MMOC|NIMC|TMSC).*|(DENR|DRSAK|EC188|NIMR|PSIR|TRSAK).*|OWC Mercury Extreme Pro SSD|UGB(88P|99S)GC...H[BF].
FIRMWARE REGEXP:    .*
MODEL FAMILY:       SandForce Driven SSDs
ATTRIBUTE OPTIONS:  001 Raw_Read_Error_Rate
                    005 Retired_Block_Count
                    009 Power_On_Hours_and_Msec
                    013 Soft_Read_Error_Rate
                    100 Gigabytes_Erased
                    170 Reserve_Block_Count
                    171 Program_Fail_Count
                    172 Erase_Fail_Count
                    174 Unexpect_Power_Loss_Ct
                    177 Wear_Range_Delta
                    181 Program_Fail_Count
                    182 Erase_Fail_Count
                    184 IO_Error_Detect_Code_Ct
                    195 ECC_Uncorr_Error_Count
                    198 Uncorrectable_Sector_Ct
                    199 SATA_CRC_Error_Count
                    201 Unc_Soft_Read_Err_Rate
                    204 Soft_ECC_Correct_Rate
                    230 Life_Curve_Status
                    231 SSD_Life_Left
                    233 SandForce_Internal
                    234 SandForce_Internal
                    235 SuperCap_Health
                    241 Lifetime_Writes_GiB
                    242 Lifetime_Reads_GiB


I also found the SMART attribute table here:
http://www.ocztechnologyforum.com/forum/showthread.php?75786-SMART-Attributes-for-Sandforce-SSD-s-%28Agility2-Vertex2-VertexLE%29

But gnome-disk-utitlity (which presumably uses libatasmart is showing me differing attribute names mapped to these numbers.  In particular the attribute 231 is titled "Temperature".

Unfortunately the values I retrieve with for 231:
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   106   100   050    Pre-fail  Always       -       0/13859164
  5 Retired_Block_Count     0x0033   100   100   003    Pre-fail  Always       -       0
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       5726h+51m+50.290s
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1733
171 Program_Fail_Count      0x0032   000   000   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0030   000   000   000    Old_age   Offline      -       80
177 Wear_Range_Delta        0x0000   000   000   000    Old_age   Offline      -       0
181 Program_Fail_Count      0x0032   000   000   000    Old_age   Always       -       0
182 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   001   129   000    Old_age   Always       -       1 (0 127 0 129)
195 ECC_Uncorr_Error_Count  0x001c   106   100   000    Old_age   Offline      -       0/13859164
196 Reallocated_Event_Count 0x0033   100   100   000    Pre-fail  Always       -       0
231 SSD_Life_Left           0x0013   100   100   010    Pre-fail  Always       -       0
233 SandForce_Internal      0x0000   000   000   000    Old_age   Offline      -       1984
234 SandForce_Internal      0x0032   000   000   000    Old_age   Always       -       2624
241 Lifetime_Writes_GiB     0x0032   000   000   000    Old_age   Always       -       2624
242 Lifetime_Reads_GiB      0x0032   000   000   000    Old_age   Always       -       7232

do not allow me interpret SSD_Life_Left 0 as anything meaningful.

Hopefully this can help someone fix this information so that some type of life time estimate can be derived in the future...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.