Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSD wear poll (Gentoo root disk only!)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

What's your current SSD life remaining percentage?
100 Brand new disk
7%
 7%  [ 2 ]
99 Woah, not much wear at all
29%
 29%  [ 8 ]
75-98 Got some wear...
33%
 33%  [ 9 ]
50-74 Mid life
7%
 7%  [ 2 ]
25-49 My SSD is pretty well used.
0%
 0%  [ 0 ]
1-24 Need to buy a new disk soon...
0%
 0%  [ 0 ]
0 or SSD is failing due to erase cycle limit
3%
 3%  [ 1 ]
SMART information not available from controller
0%
 0%  [ 0 ]
I don't have an SSD you insensitive clod!
18%
 18%  [ 5 ]
Total Votes : 27

Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Feb 04, 2019 2:16 am    Post subject: SSD wear poll (Gentoo root disk only!) Reply with quote

I suspect a lot of people have Solid State Drives already as main storage.

On your current most often used SSD running Gentoo, what is your media wearout indicator at? I don't care that you used a tmpfs for PORTAGE_TMPDIR, just that the machine must run Gentoo Linux most of the time. And yes, this number is dependent on how many emerges you've run on the disk, but let's ignore that for now...

This is SMART field 233 typically, and is a number from 100 to 0 where 100% is full life available (new disk) to 0% when all write cycles are consumed.

This is a limited time poll because alas, over time, SSDs will wear out and your answers will change over time.

Of the few SSDs I have, one has a really crappy SMART info that doesn't clearly tell what the wear indicator is at, and one that has finally hit 1% used and have hit swap storms before. The others are still at 100% even after many years of use.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Mon Feb 04, 2019 3:52 am    Post subject: Reply with quote

I had SSD on my 2008 thinkpad laptop, running Gentoo exclusively. Laptop still functions, but CPU fan died and it overheats. SSD still showed (as I recall) almost no wear. This is after 9 years of use.
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1052
Location: The Holy city of Honolulu

PostPosted: Mon Feb 04, 2019 5:15 am    Post subject: Reply with quote

I use an identical 500gb pair of SSDs for my Gentoo desktop. I have / & ccache one, and /home on the other. For music, videos, pictures, documents, etc... I have a 4TB "normal" spin drive.

The wear is minimal. By the time the SSDs wear out, I'll already be on a new desktop.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Feb 04, 2019 5:27 am    Post subject: Reply with quote

99% remaining on my router/fileserver/caching proxy/game server/distcc box, in service since 2012. smartctl says 55889 hours of use.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Feb 04, 2019 11:16 am    Post subject: Reply with quote

Smartctl output of the system disk on my NFS server:
Code:
Device Model: Samsung SSD 840 PRO Series
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   089   089   000    Old_age   Always       -       51652 (=5.9 years)
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       62
177 Wear_Leveling_Count     0x0013   099   099   000    Pre-fail  Always       -       28
...
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       22
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       3719787401 (=1.9 TB)

I voted 'Mid life'. But that's probably not true. SSDs seem to live *much* longer than the 'wear leveling count' indicates...
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Mon Feb 04, 2019 11:52 am    Post subject: Reply with quote

Mine is similar to mike155

Code:
boot -> ../../sda1
root -> ../../sda2
portage -> ../../sda3
x -> ../../sda5

Device Model:     Samsung SSD 840 EVO 250GB
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Hours          0x0032   089   089   000    Old_age   Always       -       55140
...
177 Wear_Leveling_Count     0x0013   099   099   000    Pre-fail  Always       -       8
...
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       5862282386


system is up 24x7, portage partition is /usr/portage updated daily.

I do have enough ram that both /tmp and /var/tmp/portage are in ram, but /var/log is on the ssd.

And over the last 6 months to a year, the samsungs have come way down in price.


Edit to add: hadn't looked at the poll before I posted, so have to laugh at the "insensitive clod" selection :lol:
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
saellaven
l33t
l33t


Joined: 23 Jul 2006
Posts: 646

PostPosted: Mon Feb 04, 2019 5:54 pm    Post subject: Reply with quote

root device (installed Feb 17, 2016):
Code:
Device Model:     Samsung SSD 850 EVO 250GB
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       25961
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       21
177 Wear_Leveling_Count     0x0013   099   099   000    Pre-fail  Always       -       4
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   069   056   000    Old_age   Always       -       31
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       9
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       4303302978


this one houses my steam games (installed August 28, 2017)
Code:

Device Model:     Samsung SSD 850 EVO 500GB
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       12580
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       10
177 Wear_Leveling_Count     0x0013   099   099   000    Pre-fail  Always       -       1
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   069   049   000    Old_age   Always       -       31
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       4
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       2037540816


Samsung devices don't use field 233, but 177 is the equivalent of 100-(wear leveling count), so root is 96% of life available and my steam drive is 99%.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Feb 04, 2019 8:19 pm    Post subject: Reply with quote

Yeah, I suspect it depends on the manufacturer. Sandforce seems to be using 233 but it varies. But anyway I think that 4 just means 4 average erases per erase block... but it is less than 1% of the total erase endurance cycles (as witnessed by the "WORST" SMART field data) so you should be picking 1% ! (that is, unless you know your ssd will only handle 100 erase cycles...)

So far it seems most people haven't really been eating into their disks life. It is a bit unfortunate my theoretically most worn SSD doesn't seem to clearly mention its wear level. It's a 32GB mPCI so it should be easy to hit GC. I *know* I've dumped a lot of erase cycles on it but it doesn't seem to show on the SMART logs, and even worse, the numbers it does report doesn't seem to correspond to anything consistent after doing 256MB and 1GB test writes.

I've been thinking about redoing that SSD with FDE which would write yet another full erase cycle...

Anyway, I don't know if the person who voted 0% was just being facetious or someone who deliberately tried to kill SSDs for a review, but wonder what the story behind that is.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Mon Feb 04, 2019 8:45 pm    Post subject: Reply with quote

Code:
Model Family:     Phison Driven SSDs 
Device Model:     PNY CS1311 240GB SSD
                                                                                           
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       16029
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       277
170 Bad_Blk_Ct_Erl/Lat      0x0003   100   100   010    Pre-fail  Always       -       0/193
218 CRC_Error_Count         0x000b   100   100   050    Pre-fail  Always       -       4   
231 SSD_Life_Left           0x0013   100   100   000    Pre-fail  Always       -       100
241 Lifetime_Writes_GiB     0x0012   100   100   000    Old_age   Always       -       6983
                                               
Device Model:     TOSHIBA THNS128GG4BAAA-NonFDE
                                                                                           
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       41132
 10 Unknown_SSD_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0   
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       1146
167 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
169 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       850531844528
170 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       94498455650
173 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       339336167754
175 Program_Fail_Count_Chip 0x0003   100   100   010    Pre-fail  Always       -       0
240 Unknown_SSD_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Mon Feb 04, 2019 11:13 pm    Post subject: Reply with quote

Checked my desktop SSD that houses / , but not /var (where portage results) nor /home.

On since 2011, Media_Wearout_Indicator 99
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Tue Feb 05, 2019 3:17 am    Post subject: Reply with quote

My 128 GB bcache disk, running Gentoo since 2015.
Code:
Device Model:     SAMSUNG MZHPV128HDGM-00000

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       28111
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       82
170 Unused_Rsvd_Blk_Ct_Chip 0x0032   100   100   010    Old_age   Always       -       0
171 Program_Fail_Count_Chip 0x0032   100   100   010    Old_age   Always       -       0
172 Erase_Fail_Count_Chip   0x0032   100   100   010    Old_age   Always       -       0
173 Wear_Leveling_Count     0x0033   087   087   005    Pre-fail  Always       -       392
174 Unexpect_Power_Loss_Ct  0x0032   099   099   000    Old_age   Always       -       9
178 Used_Rsvd_Blk_Cnt_Chip  0x0013   100   100   010    Pre-fail  Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0013   100   100   010    Pre-fail  Always       -       408
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   068   044   000    Old_age   Always       -       32
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
233 Media_Wearout_Indicator 0x0032   099   099   000    Old_age   Always       -       50216
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       3116
242 Total_LBAs_Read         0x0032   099   099   000    Old_age   Always       -       3005

Some of the numbers are a bit odd...
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Feb 05, 2019 5:12 am    Post subject: Reply with quote

392 average erases, 87% remaining = 13% used

392/.13 = 3015

This calculates out reasonably. There are many MLC SSDs (2 bits per cell) that are rated for 3000 erase cycles. You win so far for the most provably worn out SSD :D
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 133
Location: Scotland

PostPosted: Tue Feb 05, 2019 3:18 pm    Post subject: Reply with quote

Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       24731
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       2492
177 Wear_Leveling_Count     0x0013   093   093   000    Pre-fail  Always       -       76
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   076   060   000    Old_age   Always       -       24
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       902
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       14816642445


oh noes
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Feb 05, 2019 8:28 pm    Post subject: Reply with quote

93% left = 7% used
76 erase divided by 7% = about 1085

Wow, I suppose this one is one of those 3 bit per cell SSDs that wears out faster than MLC 2-bit. But it still has a lot of life left.

cboldt wrote:
Code:
Device Model:     TOSHIBA THNS128GG4BAAA-NonFDE
                                                                                           
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       41132
 10 Unknown_SSD_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0   
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       1146
167 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
169 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       850531844528
170 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       94498455650
173 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       339336167754
175 Program_Fail_Count_Chip 0x0003   100   100   010    Pre-fail  Always       -       0
240 Unknown_SSD_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0

Yeah that 32GB mPCI SSD I have looks something like this, couldn't make heads or tails from bytes written to erase cycles from the data. IIRC it's a Jmicron controller. I do see multiple counters of sorts however -- and that there's two in a field that are notably increasing as I write to it, just that what it's counting I don't know.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Feb 05, 2019 9:42 pm    Post subject: Reply with quote

After a few years this 512G drive shows
Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0033   100   100   000    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       14720
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1827
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       12


So each sector has been written on average, 12 times. That means the drive will outlast me :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 133
Location: Scotland

PostPosted: Tue Feb 05, 2019 10:25 pm    Post subject: Reply with quote

eccerr0r wrote:
93% left = 7% used
76 erase divided by 7% = about 1085

Wow, I suppose this one is one of those 3 bit per cell SSDs that wears out faster than MLC 2-bit. But it still has a lot of life left.

Samsung 840 Evo 120GB in use since ~2013, and yeah you are correct it's 3-bit nand tlc 19nm tech - I learned something new today :)

I may just go wild and chuck one of the 120GB Kingston SSD's I've seen going for £20 in my laptop.
The difference in SSD price since I picked mine up in 2013 is huge, RAM prices in comparison seem to have hardly budged.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1270

PostPosted: Wed Feb 06, 2019 10:45 pm    Post subject: Reply with quote

Code:
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       15548
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       1748
177 Wear_Leveling_Count     0x0013   098   098   000    Pre-fail  Always       -       21
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   070   050   000    Old_age   Always       -       30
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       546
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       11372268668


Does this mean I am on the "have to buy a new ssd soon" side ? :o
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Feb 06, 2019 10:50 pm    Post subject: Reply with quote

Elleni,

No.
Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
177 Wear_Leveling_Count     0x0013   098   098   000    Pre-fail  Always       -       21


When that gets over 1000, start saving. It should go to close to 10,000 before you need a new drive.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Feb 06, 2019 11:48 pm    Post subject: Reply with quote

98 is 2% used... raw erase average of 21 ... so 21/.02 = about 1000 as well => You also have a three bit per cell SSD.

When the RAW_VALUE hits 1000 you've used up the guaranteed erase cycles of the chips used. SMART will have your VALUE of ID 177 hit 0 at the same time, which will trigger a lifetime warning "Drive failing now". You technically don't need to look at RAW_VALUE, as long as WORST is larger than THRESH(old) you're good.

Not sure if this is an "old age" field versus "impending failure" field... it sort of means both.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1270

PostPosted: Wed Feb 06, 2019 11:57 pm    Post subject: Reply with quote

Thanks guys, wow thats pretty cool for a drive that is about 5 years old or even more - dont rembember exactly when I bought it and it was used gentoo root for my main desktop boxes all the time. User homes are on 2x1 TB raid0 array :D
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Fri Feb 08, 2019 8:37 am    Post subject: Reply with quote

Very decent they dont seem to wear out very much even with the amount of utilization by portage and building packages.

https://paste.pound-python.org/show/NaOnhF6efrd9bGT4TVm5/
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Mon Feb 11, 2019 8:32 am    Post subject: Reply with quote

post got way too big, so have a github gist. :lol:

https://gist.github.com/bunder2015/8f25de4a1ee3ad6f9476d461f38a7683
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Feb 11, 2019 2:35 pm    Post subject: Reply with quote

I haven't got much idea how much time is left in mine.
Code:
Device Model:     LITEONIT LMT-256M6M mSATA 256GB
...
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0003   100   100   000    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0003   100   100   000    Pre-fail  Always       -       1676
175 Program_Fail_Count_Chip 0x0003   100   100   000    Pre-fail  Always       -       0
176 Erase_Fail_Count_Chip   0x0003   100   100   000    Pre-fail  Always       -       0
177 Wear_Leveling_Count     0x0003   100   100   000    Pre-fail  Always       -       340577
178 Used_Rsvd_Blk_Cnt_Chip  0x0003   100   100   000    Pre-fail  Always       -       0
179 Used_Rsvd_Blk_Cnt_Tot   0x0003   100   100   000    Pre-fail  Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0003   100   100   005    Pre-fail  Always       -       1152
181 Program_Fail_Cnt_Total  0x0003   100   100   000    Pre-fail  Always       -       0
182 Erase_Fail_Count_Total  0x0003   100   100   000    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0003   100   100   000    Pre-fail  Always       -       0
195 Hardware_ECC_Recovered  0x0003   100   100   000    Pre-fail  Always       -       0
241 Total_LBAs_Written      0x0003   100   100   000    Pre-fail  Always       -       168234
242 Total_LBAs_Read         0x0003   100   100   000    Pre-fail  Always       -       126802

It is an mSATA that I salvaged from my old Dell XPS (either 2012 or 2013 purchase), and then transferred it to an Intel NUC. It's been running Gentoo exclusively. Compilation happens on tmpfs. Browser caches are on tmpfs. Temporary browser downloads go to tmpfs.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Feb 11, 2019 4:37 pm    Post subject: Reply with quote

I'd trust what SMART says and it will be fine for a long while. Unless you know the controller, that 340K number doesn't mean anything.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Sun Feb 24, 2019 5:06 pm    Post subject: Reply with quote

samsung ssd - about 4 years

smartctl -A /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.14.83-gentoo] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 27159
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 101
177 Wear_Leveling_Count 0x0013 098 098 000 Pre-fail Always - 36
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 068 054 000 Old_age Always - 32
195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 31
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 9 825 497 040

hdparm -I /dev/sda | more

/dev/sda:

ATA device, with non-removable media
Model Number: Samsung SSD 850 EVO 500GB
Serial Number: S21HNXAGA26914E
Firmware Revision: EMT01B6Q
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum