<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:0l0lfghsiq0df45fjl2a1pmi8ienlv9cg3@4ax.com">
<pre class="moz-quote-pre" wrap="">And presuming that your new system has an SSD, then you probably want
to TRIM the SSD more than once a week, as the MythTV database activity
can use up quite a bit of the erased SSD space. The default settings
for Ubuntu's fstrim.service and fstrim.timer are to only run fstrim
once a week. So you should do:
sudo edit fstrim.timer
and put something like this in the systemd override file:
[Unit]
Description=Discard unused blocks once a day
[Timer]
OnCalendar=
OnCalendar=daily
AccuracySec=10m
Or you could add the "discard" option to your SSD partitions in fstab.
Or both, as I am now doing.
_______________________________________________
mythtvnz mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtvnz@lists.ourshack.com">mythtvnz@lists.ourshack.com</a>
<a class="moz-txt-link-freetext" href="https://lists.ourshack.com/mailman/listinfo/mythtvnz">https://lists.ourshack.com/mailman/listinfo/mythtvnz</a>
Archives <a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a></pre>
</blockquote>
<p><br>
</p>
<p>Hi ,</p>
<p>Both my 16.04 and 20.04 systems use SSDs for the OS - storage is
on HDD.</p>
<p>I've read conflicting opinions on the use of discard.</p>
<pre class="moz-quote-pre" wrap=""><font face="Ubuntu">'sudo edit fstrim.timer' in both my Ubuntu 21.04 desktop and 20.04 myth TV box, results in:
'Error: no "edit" mailcap rules found for type "cannot open `fstrim.timer' (No such file or directory)" '
What is the name of the systemd override file you refer to?
Cheers
-Paul
</font>
</pre>
</body>
</html>