IF the mutable file update problem is due to memory use problems with downloading the file, keeping it in memory then re-uploading it, then (for this use case) it is worth the overhead (to me) for now.<div><br></div><div>IF there are other issues that I need to be aware of, please let me know.</div>

<div><br></div><div>Question: Why was the decision made to download the file before uploading the new version?</div><div><br></div><div>thanks,</div><div>jody<br clear="all">----<br>- Think carefully.<br>- Contra mundum - &quot;Against the world&quot; (St. Athanasius)<br>

- Credo ut intelliga - &quot;I believe that I may know&quot; (St. Augustin of Hippo)<br>
<br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 11:33 AM, Peter Secor <span dir="ltr">&lt;<a href="mailto:secorp@allmydata.com">secorp@allmydata.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

You are correct Kevan, the hard limit has been removed, sorry I didn&#39;t<br>
realize that had been fixed already!<br>
<br>
So, the limit is removed, but Jody you may want to read the ticket #694<br>
notes, there is a good discussion of why we originally had a hard-limit.<br>
<br>
Ps<br>
<div class="im"><br>
On 1/4/10 10:24 AM, Kevan Carstensen wrote:<br>
&gt; I&#39;m sure someone will correct me if I&#39;m wrong, but I think #694 removed<br>
&gt; the hard limit on mutable files. So your data should be backed up.<br>
&gt;<br>
&gt; (apologies for formatting - I&#39;m on a phone)<br>
&gt; --<br>
</div>&gt; Kevan Carstensen | &lt;<a href="mailto:kevan@isnotajoke.com">kevan@isnotajoke.com</a> &lt;mailto:<a href="mailto:kevan@isnotajoke.com">kevan@isnotajoke.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt; On Jan 4, 2010, at 10:10 AM, Jody Harris &lt;<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
</div><div class="im">&gt;&gt; Ack!<br>
&gt;&gt;<br>
&gt;&gt; So, I&#39;m NOT backing up my data!? (I&#39;m just backing up the first 2MB of<br>
&gt;&gt; each compressed table?)<br>
&gt;&gt;<br>
&gt;&gt; Okay, if immutable files are my only choice, how do I do garbage<br>
&gt;&gt; collection to insure that a minimum of dead space is taken up by<br>
&gt;&gt; &quot;yesterday&#39;s&quot; files?<br>
&gt;&gt;<br>
&gt;&gt; jody<br>
&gt;&gt; ----<br>
&gt;&gt; - Think carefully.<br>
&gt;&gt; - Contra mundum - &quot;Against the world&quot; (St. Athanasius)<br>
&gt;&gt; - Credo ut intelliga - &quot;I believe that I may know&quot; (St. Augustin of Hippo)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Jan 4, 2010 at 11:05 AM, Peter Secor &lt;<br>
</div>&gt;&gt; &lt;mailto:<a href="mailto:secorp@allmydata.com">secorp@allmydata.com</a>&gt;<a href="mailto:secorp@allmydata.com">secorp@allmydata.com</a><br>
<div class="im">&gt;&gt; &lt;mailto:<a href="mailto:secorp@allmydata.com">secorp@allmydata.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;     Mutable files currently have a small (2MB?) limit and cannot be<br>
&gt;&gt;     used for<br>
&gt;&gt;     larger files. Immutable files (the default) have a much higher limit<br>
&gt;&gt;     (12GB now?) and are much better suited for the purpose you<br>
&gt;&gt;     described of<br>
&gt;&gt;     large snapshots of data that won&#39;t change later.<br>
&gt;&gt;<br>
&gt;&gt;     There are ideas behind larger mutable files (#393) but they are not<br>
&gt;&gt;     implemented yet.<br>
&gt;&gt;<br>
&gt;&gt;     Ps<br>
&gt;&gt;<br>
&gt;&gt;     On 1/4/10 7:37 AM, Jody Harris wrote:<br>
&gt;&gt;     &gt; Oh, I forgot to answer the &quot;how?&quot;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; ... put --mutable ...<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; jody<br>
&gt;&gt;     &gt; ----<br>
&gt;&gt;     &gt; - Think carefully.<br>
&gt;&gt;     &gt; - Contra mundum - &quot;Against the world&quot; (St. Athanasius)<br>
&gt;&gt;     &gt; - Credo ut intelliga - &quot;I believe that I may know&quot; (St. Augustin<br>
&gt;&gt;     of Hippo)<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; On Sun, Jan 3, 2010 at 10:59 PM, Jody Harris &lt;<br>
</div>&gt;&gt;     &lt;mailto:<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a>&gt;<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a> &lt;mailto:<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a>&gt;<br>


&gt;&gt;     &gt; &lt;mailto: &lt;mailto:<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a>&gt;<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a><br>
<div class="im">&gt;&gt;     &lt;mailto:<a href="mailto:imhavoc@gmail.com">imhavoc@gmail.com</a>&gt;&gt;&gt; wrote:<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; I have a script that:<br>
&gt;&gt;     &gt; - iterates though my MySQL tables<br>
&gt;&gt;     &gt; - dumps each table<br>
&gt;&gt;     &gt; - pipes the dump through gzip<br>
&gt;&gt;     &gt; - write the file to a temp file<br>
&gt;&gt;     &gt; - copies the file to [remote storage] (now Tahoe grid)<br>
&gt;&gt;     &gt; - deletes temp file<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; This gives me a daily snapshot of all of the active databases on my<br>
&gt;&gt;     &gt; server every night.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; The current backup is ~ 300 MB/night, which isn&#39;t bad, but after one<br>
&gt;&gt;     &gt; year, that&#39;s 110+GB x 3.3 and counting of consumed tahoe space.<br>
&gt;&gt;     &gt; Unless tahoe has a better garbage collection system than I have come<br>
&gt;&gt;     &gt; to believe, that&#39;s going to be a problem on a 500 GB grid.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; In my reading of the tahoe docs, I have not come across any alarms<br>
&gt;&gt;     &gt; concerning mutable files. Is there something I should be made<br>
&gt;&gt;     aware of?<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; jody<br>
&gt;&gt;     &gt; ----<br>
&gt;&gt;     &gt; - Think carefully.<br>
&gt;&gt;     &gt; - Contra mundum - &quot;Against the world&quot; (St. Athanasius)<br>
&gt;&gt;     &gt; - Credo ut intelliga - &quot;I believe that I may know&quot; (St. Augustin of<br>
&gt;&gt;     &gt; Hippo)<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; On Sun, Jan 3, 2010 at 10:50 PM, Zooko O&#39;Whielacronx<br>
</div>&gt;&gt;     &gt; &lt; &lt;mailto:<a href="mailto:zookog@gmail.com">zookog@gmail.com</a>&gt;<a href="mailto:zookog@gmail.com">zookog@gmail.com</a><br>
&gt;&gt;     &lt;mailto:<a href="mailto:zookog@gmail.com">zookog@gmail.com</a>&gt; &lt;mailto:<br>
&gt;&gt;     &lt;mailto:<a href="mailto:zookog@gmail.com">zookog@gmail.com</a>&gt;<a href="mailto:zookog@gmail.com">zookog@gmail.com</a><br>
<div class="im">&gt;&gt;     &lt;mailto:<a href="mailto:zookog@gmail.com">zookog@gmail.com</a>&gt;&gt;&gt; wrote:<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; On Sun, Jan 3, 2010 at 10:33 PM, Jody Harris<br>
</div>&gt;&gt;     &gt; &lt; &lt;mailto:<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a>&gt;<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a><br>
&gt;&gt;     &lt;mailto:<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a>&gt; &lt;mailto:<br>
&gt;&gt;     &lt;mailto:<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a>&gt;<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a><br>
<div><div></div><div class="h5">&gt;&gt;     &lt;mailto:<a href="mailto:havoc@harrisdev.com">havoc@harrisdev.com</a>&gt;&gt;&gt; wrote:<br>
&gt;&gt;     &gt; &gt; I have set up my web server to store backup files on my tahoe<br>
&gt;&gt;     &gt; grid, shifting<br>
&gt;&gt;     &gt; &gt; from the use of a server at my house. One thing that<br>
&gt;&gt;     &gt; initially alarmed me<br>
&gt;&gt;     &gt; &gt; was that the timestamps of the backed up files is not updated<br>
&gt;&gt;     &gt; in the<br>
&gt;&gt;     &gt; &gt; tahoe-lafs interface. I did confirm that the shares<br>
&gt;&gt;     &gt; timestamps are updated.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Tahoe-LAFS doesn&#39;t store timestamps or other metadata on files, only<br>
&gt;&gt;     &gt; on links to files, which links are stored in directories. So if you<br>
&gt;&gt;     &gt; have a directory which contains a link named &quot;README.txt&quot; to<br>
&gt;&gt;     &gt; version 1<br>
&gt;&gt;     &gt; of your file, and then you upload version 2 of your file and you<br>
&gt;&gt;     &gt; change that directory to link to version 2, then Tahoe-LAFS will<br>
&gt;&gt;     &gt; update the timestamp on that link named &quot;README.txt&quot; when it updates<br>
&gt;&gt;     &gt; the link to point to the new file.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Did you say &quot;mutable files&quot;? You should probably not be using<br>
&gt;&gt;     &gt; mutable<br>
&gt;&gt;     &gt; files for anything. Immutable files (plus directories) probably fit<br>
&gt;&gt;     &gt; all your needs for backups, and mutable files have significant<br>
&gt;&gt;     &gt; performance problems.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; How do you trigger these backups -- are you using &quot;tahoe cp&quot; or<br>
&gt;&gt;     &gt; &quot;tahoe<br>
&gt;&gt;     &gt; backup&quot; or sending HTTP requests to the WAPI or something else?<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Regards,<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Zooko<br>
&gt;&gt;     &gt; _______________________________________________<br>
&gt;&gt;     &gt; tahoe-dev mailing list<br>
</div></div>&gt;&gt;     &gt; &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt; &lt;mailto:<br>
&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<div class="im">&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;&gt;<br>
&gt;&gt;     &gt;<br>
</div>&gt;&gt;     &lt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a>&gt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>


&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; _______________________________________________<br>
&gt;&gt;     &gt; tahoe-dev mailing list<br>
&gt;&gt;     &gt; &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<div class="im">&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<br>
&gt;&gt;     &gt;<br>
</div>&gt;&gt;     &lt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a>&gt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>


&gt;&gt;     _______________________________________________<br>
&gt;&gt;     tahoe-dev mailing list<br>
&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<div class="im">&gt;&gt;     &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<br>
</div>&gt;&gt;     &lt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a>&gt;<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>


<div><div></div><div class="h5">&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; tahoe-dev mailing list<br>
&gt;&gt; <a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a> &lt;mailto:<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a>&gt;<br>
&gt;&gt; <a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; tahoe-dev mailing list<br>
&gt; <a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
&gt; <a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
</div></div></blockquote></div><br></div>