SSD Life
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,724

    SSD Life

    I bought a Kingston SSD in 2014. It is used in my main desktop so it has a lot of experience. Today I thought about the life expectancy of SSD's and started poking around. smartmontools tells gives me the following info:

    Code:
    gjohnson@lxde27=> sudo smartctl -t short -a /dev/sda
    smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.15.10-300.fc27.x86_64] (local build)
    Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     Phison Driven SSDs
    Device Model:     KINGSTON SHSS37A240G
    Serial Number:    50026B7268023D1E
    Firmware Version: SAFM00.Y
    User Capacity:    240,057,409,536 bytes [240 GB]
    Sector Size:      512 bytes logical/physical
    Rotation Rate:    Solid State Device
    Form Factor:      2.5 inches
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   ACS-2 (minor revision not indicated)
    SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
    Local Time is:    Sat Mar 24 05:22:12 2018 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00)	Offline data collection activity
    					was never started.
    					Auto Offline Data Collection: Disabled.
    Self-test execution status:      (   0)	The previous self-test routine completed
    					without error or no self-test has ever 
    					been run.
    Total time to complete Offline 
    data collection: 		(   30) seconds.
    Offline data collection
    capabilities: 			 (0x5b) SMART execute Offline immediate.
    					Auto Offline data collection on/off support.
    					Suspend Offline collection upon new
    					command.
    					Offline surface scan supported.
    					Self-test supported.
    					No Conveyance Self-test supported.
    					Selective Self-test supported.
    SMART capabilities:            (0x0003)	Saves SMART data before entering
    					power-saving mode.
    					Supports SMART auto save timer.
    Error logging capability:        (0x01)	Error logging supported.
    					General Purpose Logging supported.
    Short self-test routine 
    recommended polling time: 	 (   1) minutes.
    Extended self-test routine
    recommended polling time: 	 (   2) minutes.
    
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
      2 Not_In_Use              0x0005   100   100   050    Pre-fail  Offline      -       0
      3 Not_In_Use              0x0007   100   100   050    Pre-fail  Always       -       0
      5 Retired_Block_Count     0x0013   100   100   050    Pre-fail  Always       -       0
      7 Not_In_Use              0x000b   100   100   050    Pre-fail  Always       -       0
      8 Not_In_Use              0x0005   100   100   050    Pre-fail  Offline      -       0
      9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       10749
     12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       177
    168 SATA_Phy_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
    170 Bad_Blk_Ct_Erl/Lat      0x0003   100   100   010    Pre-fail  Always       -       0/438
    173 MaxAvgErase_Ct          0x0012   100   100   000    Old_age   Always       -       19 (Average 7)
    175 Not_In_Use              0x0013   100   100   050    Pre-fail  Always       -       0
    187 Reported_Uncorrect      0x0012   100   100   000    Old_age   Always       -       0
    192 Unsafe_Shutdown_Count   0x0012   100   100   000    Old_age   Always       -       52
    194 Temperature_Celsius     0x0023   068   055   030    Pre-fail  Always       -       32 (Min/Max 18/45)
    196 Not_In_Use              0x0002   100   100   010    Old_age   Always       -       0
    197 Not_In_Use              0x0032   100   100   000    Old_age   Always       -       0
    199 CRC_Error_Count         0x000b   100   100   050    Pre-fail  Always       -       0
    218 CRC_Error_Count         0x000b   100   100   050    Pre-fail  Always       -       0
    231 SSD_Life_Left           0x0013   100   100   000    Pre-fail  Always       -       100
    233 Flash_Writes_GiB        0x000b   100   100   000    Pre-fail  Always       -       1979
    240 Not_In_Use              0x0013   100   100   000    Pre-fail  Always       -       0
    241 Lifetime_Writes_GiB     0x0012   100   100   000    Old_age   Always       -       1703
    242 Lifetime_Reads_GiB      0x0012   100   100   000    Old_age   Always       -       1274
    244 Average_Erase_Count     0x0002   100   100   000    Old_age   Always       -       7
    245 Max_Erase_Count         0x0002   100   100   000    Old_age   Always       -       19
    246 Total_Erase_Count       0x0012   100   100   000    Old_age   Always       -       535872
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
    # 1  Short offline       Completed without error       00%      7594         -
    
    SMART Selective self-test log data structure revision number 1
     SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
        1        0        0  Not_testing
        2        0        0  Not_testing
        3        0        0  Not_testing
        4        0        0  Not_testing
        5        0        0  Not_testing
    Selective self-test flags (0x0):
      After scanning selected spans, do NOT read-scan remainder of disk.
    If Selective self-test is pending on power-up, resume after 0 minute delay.
    
    === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
    Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
    Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
    Testing has begun.
    Please wait 1 minutes for test to complete.
    Test will complete after Sat Mar 24 05:23:12 2018
    
    Use smartctl -X to abort test.
    Apparently the pertinent info, with regard to usage, or how tired this drive is, how long it has to live, are the following 2 lines:
    Code:
    5 Retired_Block_Count     0x0013   100   100   050    Pre-fail  Always       -       0
    231 SSD_Life_Left           0x0013   100   100   000    Pre-fail  Always       -       100
    If I'm reading the smartmontools documentation correctly this 4 year old drive is still sparkling new?
    Glenn
    The Bassinator

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,388

    Re: SSD Life

    yes, that's looking good. how long they last depends on a couple of factors, usage pattern (how hard the OS hammers it apart from what the user gets up to) and also capacity. drives with a higher number of blocks have a longer life span than lower capacity drives. my similar age 240GB OCZ Trion 100 is showing 99% in it's own windows based diagnostics program. I use it solely with W8.1 and have the OS tuned for performance rather than SSD life.

  3. #3
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    2,992

    Re: SSD Life

    Just to add another data point.
    I replaced the disk in my laptop with a 250 GB SSD about 4 years ago.
    I use the machine for C++ development which generates a lot of object files, libraries and programs - not small files.
    It is currently showing 98% life remaining.

    I think this means that unless I deliberately devise a program to thrash the life out of it, it will probably out live me.
    (However, I will continue to make regular backups.)

    I note that 100TB SSDs are now available.
    According to one article they are comparable to other SSDs on a $/GB basis.

    User error. Please replace user and try again

  4. #4
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,402

    Re: SSD Life

    Quote Originally Posted by ocratato
    Just to add another data point.
    I replaced the disk in my laptop with a 250 GB SSD about 4 years ago.
    I use the machine for C++ development which generates a lot of object files, libraries and programs - not small files.
    It is currently showing 98% life remaining.

    I think this means that unless I deliberately devise a program to thrash the life out of it, it will probably out live me.
    (However, I will continue to make regular backups.)

    I note that 100TB SSDs are now available.
    According to one article they are comparable to other SSDs on a $/GB basis.

    Hi Ocratato
    After a day's worth of a large number of compiles, have you the habit or running fstrim ?
    For the compiles and testing that I do, I run fstrim weekly.
    I just checked my SSD, and the largest number there was the power-on hours. The smallest was 0 (for defects).
    Model Family: JMicron based SSDs
    Device Model: TS128GSSD340 #128 gigs I keep 10g permenantly unallocated as a non-formatted partition.
    Serial Number: 20140409B369530169DE
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  5. #5
    Join Date
    Sep 2009
    Posts
    2,184

    Re: SSD Life

    My Crucial 500GB MX 200 is around 3 years old. I stumbled across the Crucial SMART data specification a while ago, and the key spec for low usage drives is probably Vendor ID# 173. Mine is:
    Code:
    173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       14
    I've read that the typical maximum value is 3000 erases, so we're all a long way from running out of life. I mount all my partitions and volumes with discard, so the only time I need to trim is in Windows VMs. Both VirtualBox and VirtManager can pass discard to the backing hardware if you configure the storage correctly. But as far as I know, there's no way to mount a windows file system with discard.

    dd_wizard

  6. #6
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,724

    Re: SSD Life

    OK then. I don't think I will have to think about this drive for a long, long time. Thank you guys.
    Glenn
    The Bassinator

  7. #7
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,388

    Re: SSD Life

    I just purchased a 2.5" SATA form-factor 500GB Crucial MX500 today on ebuyer since it was marginally cheaper than buying direct from crucial for once. it comes with a 5 year warranty which swayed it for me over the marginally quicker WD Blue equivalent which only has a 3 year warranty and costs more than the MX500. When a manufacturers back their hardware to this extent you know the flash medium has matured enough to be considered as stable as HDD now.

Similar Threads

  1. Second Life
    By Ronin2007 in forum Gamers' Lounge
    Replies: 6
    Last Post: 7th April 2009, 03:49 AM
  2. What to do after end of life?
    By landoncz in forum Servers & Networking
    Replies: 5
    Last Post: 8th November 2007, 04:45 PM
  3. can my old PC have a new life?
    By ej591541 in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 2nd May 2007, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •