<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SSD on nagg.eu</title><link>https://nagg.eu/tags/ssd/</link><description>Recent content in SSD on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 01 Mar 2013 23:44:42 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/ssd/index.xml" rel="self" type="application/rss+xml"/><item><title>Fedora 18: TRIM and luks</title><link>https://nagg.eu/fedora-18-trim-and-luks/</link><pubDate>Fri, 01 Mar 2013 23:44:42 +0000</pubDate><guid>https://nagg.eu/fedora-18-trim-and-luks/</guid><description>&lt;p&gt;At a first glance enabling TRIM on a luks encrypted volume looks quite easy, and, as a matter of a fact it is.&lt;br&gt;
The shitstorm starts when trying to enable TRIM on the root volume, but, let&amp;rsquo;s go one step at a time.&lt;/p&gt;
&lt;p&gt;First of all, enabling trim on a regular not encrypted volume is pretty easy; just open the file &lt;code&gt;&amp;lt;em&amp;gt;/etc/fstab&amp;lt;/em&amp;gt;&lt;/code&gt; and add the flag &lt;code&gt;&amp;lt;em&amp;gt;discard&amp;lt;/em&amp;gt;&lt;/code&gt;.&lt;br&gt;
You may also want to add the flag &lt;code&gt;&amp;lt;em&amp;gt;noatime&amp;lt;/em&amp;gt;&lt;/code&gt; to prevent the OS from writing additional informations regarding last access date and such, it&amp;rsquo;s not strictly necessary but it will save the SSD&amp;rsquo;s cells some &lt;em&gt;useless&lt;/em&gt; write operations.&lt;br&gt;
The fstab file should look like this (here only one row is reported):&lt;/p&gt;</description></item></channel></rss>