<div dir="ltr">I believe that you need to set .happy to 1. With happy set to 1, it will still try to upload a share to both nodes, but it consider the upload a success as long as 1 share uploaded successfully. I have found that in practice, both shares will end up on the node that is online (when one is offline).<div>

<br></div><div>Once the second node comes back online, you should run "tahoe check --repair" to improve the redundancy of the shares that were uploaded while a node was offline. Please verify this, I am a little unclear on if --repair just does a repair (regenerate missing shares), or also does a rebalance (move shares from node to node to improve redundancy).</div>

<div><br></div><div style>Hopefully that helps.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 9:07 AM, thierry dijoux <span dir="ltr"><<a href="mailto:tjr.dijoux@gmail.com" target="_blank">tjr.dijoux@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hi all,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">


<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Maybe a dumb question.... but i'm trying to set up a tiny grid (v 1.9.2 on a debian wheezy) with 2 nodes, but i can't have satisfaction with my setup. on the 2 nodes, i setup storage like this:</div>


<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
shares.needed = 1 => as written in the doc, this is equivalent to a simple replication (and this is what i want)</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">shares.total = 2</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">shares.happy = 2 => i want a copy on each node</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">When all nodes are up, no problems, but when a node is down, i can't upload anything. So just a simple question, how to achieve this (ie simple replication on only 2 nodes), and is it possible ?</div>


<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Thanks in advance for your help.</div>
<br>_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
<br></blockquote></div><br></div>