<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [Fixed] fstrim service for SSD ?]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=60</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=60&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Fixed] fstrim service for SSD ?.]]></description>
		<lastBuildDate>Wed, 18 Jul 2018 15:10:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Fixed] fstrim service for SSD ?]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=485#p485</link>
			<description><![CDATA[<p>Quick update :</p><p>The above script is now working with cronie service enabled.</p><p>EDIT : Script also works with full disk encryption, since I&#039;m using one LVM container, only trim on / is needed. PS : Don&#039;t forget to chmod+x the script</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Wed, 18 Jul 2018 15:10:52 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=485#p485</guid>
		</item>
		<item>
			<title><![CDATA[[Fixed] fstrim service for SSD ?]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=195#p195</link>
			<description><![CDATA[<p><strong>Fixed. cronie is working fine now.</strong></p><p>Hello,</p><p>On Parabola (&amp; systemd), I had the following service enabled :</p><p>fstrim.timer</p><p>Is there an equivalent for OpenRC ? Or has it to be written ?</p><p>Or what is the best way to run fstrim generally ?</p><p>My layout is as follow :</p><p>/dev/sda1 #boot<br />/dev/sda2 #swap<br />/dev/sda3 #root<br />/dev/sda4 #home</p><p>Right now, I have this script in /etc/cron.daily (with cronie service enabled) :<br /></p><div class="codebox"><pre><code>#!/bin/sh
LOG=/var/log/trim.log
echo &quot;*** $(date -R) ***&quot; &gt;&gt; $LOG
fstrim -v / &gt;&gt; $LOG
fstrim -v /home &gt;&gt; $LOG</code></pre></div><p>But the cron task is not executed. (My machine is on 15 hours / day) If the script is executed manually, it works though.</p><p>I also have an other machine with full disk encryption (LVM on LUKS), in this case, what would be the best way to run fstrim ?</p><p>Thanks for your help</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Sun, 26 Nov 2017 17:11:06 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=195#p195</guid>
		</item>
	</channel>
</rss>
