<tt><font size=2>bruno@wolff.to wrote on 02/13/2014 11:34:56:<br>
<br>
&gt; On Thu, Feb 13, 2014 at 09:38:53 -0500,<br>
&gt; &nbsp; &nbsp;John.Florian@dart.biz wrote:<br>
&gt; &gt;I just had interesting (or incredibly stupid) idea concerning
the critical<br>
&gt; &gt;limitation of the live overlays where the host crashes with bus
errors<br>
&gt; &gt;when the temporary space for the COW is exhausted. &nbsp;Is it
possible to use<br>
&gt; &gt;trim/discard support to mitigate some of the unidirectional growth
for<br>
&gt; &gt;when files are deleted and/or overwritten? &nbsp;Conceptually
it seems like it<br>
&gt; &gt;is a good fit, but I've not investigated the practicality. &nbsp;Just
curious<br>
&gt; &gt;if this has been explored or if there are easily known reasons
why this<br>
&gt; &gt;wouldn't work.<br>
&gt; <br>
&gt; I don't think this will help. You aren't going to recover space from
the <br>
&gt; base file system, because it never changes. As more an more packages
<br>
&gt; are updated you are going to use more space in the overlay area. </font></tt>
<br>
<br><tt><font size=2>I figured as much otherwise somebody would have already
done this. &nbsp;But my web searches didn't seem to reveal anything so
I had to ask.</font></tt>
<br><tt><font size=2>&nbsp;<br>
&gt; Portable flash drives are getting cheaper and you might consider getting
<br>
&gt; one large enough for a normal install and use that instead of a live
image. <br>
&gt; Depending on how much you are installing, a 64 GB flash drive is probably
<br>
&gt; large enough.</font></tt>
<br>
<br><tt><font size=2>That won't help me where I'm looking at hundreds to
thousands of embedded nodes that have very specific use requirements for
being based on a live image. &nbsp;Using a live image makes them very resilient
to mutation/corruption</font></tt><font size=2 face="sans-serif"> and anybody
can simply reset the hardware and have a node back to its normal working
state. &nbsp;You can think of this setup behaving much like firmware, albeit
with a Fedora image. &nbsp;:-)</font>
<br>
<br><font size=2 face="sans-serif">I just have to ensure the workloads
can never cause the overlay to become exhausted, which is sometimes easier
said than done, which is why I asked.</font>
<br><font size=2 face="sans-serif"><br>
--<br>
John Florian</font>
<br>