[kwlug-disc] SMART for SSDs

Khalid Baheyeldin kb at 2bits.com
Thu Jul 30 23:07:25 EDT 2015


In light of Samsung's SSD being exonerated in the news today(1), and a TRIM
bug found in Linux, with the driver blacklisting stuff (probably
incorrectly), it seems that using TRIM is not something that is a given(2)

So, some questions to those using SSDs:

a. Do you use anything that enables TRIM on your SSD?

b. If so, do you add "discard" to fstab, or run fstrim from cron?

c. What other mount options do you use (noatime comes to mind, relatime is
the default since 2.6.something, other options)?

*Notes:*

i. You can tell if your SSD supports TRIM by issuing the command:

hdparm -I /dev/sdX | grep TRIM

ii. Ubuntu 14.04 has fstrim enabled as a weekly cron, but only for Intel
and Samsung SSDs.

iii. Other good references in (3) and (4).

(1)
http://linux.slashdot.org/story/15/07/30/1814200/samsung-finds-fixes-bug-in-linux-trim-code

(2) https://wiki.debian.org/SSDOptimization#WARNING

(3) https://wiki.archlinux.org/index.php/Solid_State_Drives

(4) https://sites.google.com/site/easylinuxtipsproject/ssd
-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple, and
wrong." -- H.L. Mencken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20150730/d9fd3ce0/attachment.htm>


More information about the kwlug-disc mailing list