<div>Hi Guys!</div><div><br></div><div>I'm trying this amazing tool and my conclusion is that It's the best open source approach to elastic storage that I've seen.</div><div><br></div><div>However, I have a problem with the sync of the replica. </div>
<div><br></div><div>I've set-up a configuration with 2 servers / 2 bricks / one disk each one in replica 2 and one native client.</div><div><br></div><div>When all servers are up and running, the system works like a charm. I shutdown one machine (Brick2) and do 2 operations in the client side:</div>
<div><br></div><div>a) Create a new file</div><div>b) Modify an old file (very small... only 7 bytes)</div><div><br></div><div>The new file is created on the server side (Brick1) and the modified one it's also correct on the server side (Brick1).</div>
<div>I start the Brick2 and trigger a self-heal. In the client I do that:</div><div>find /opt/shared -print0 | xargs --null stat >/dev/null</div><div><br></div><div>I look what has happened in the server side (Brick2) and see that:</div>
<div><br></div><div>a) The new file is created in Brick2 <-- that's right!</div><div>b) The old file continues with the old content. It hasn't synced <--- that's bad!</div><div><br></div><div>So, I have the modified archive that is ok in client and Brick1 but it's out of sync in Brick2. </div>
<div><br></div><div>Anyone knows what could it be happening?</div><div><br></div><div>The servers set-up is:</div><div><br></div><div><div>gluster> volume create myvol replica 2 transport tcp 192.168.1.136:/opt/storage1 192.168.1.134:/opt/storage1</div>
<div>gluster> volume set <meta charset="utf-8">myvol auth.allow 192.168.1.*</div><div>gluster> volume start myvol</div><meta charset="utf-8"><div>gluster> volume info myvol</div><meta charset="utf-8"><div><meta charset="utf-8"><div>
Volume Name: myvol</div><meta charset="utf-8"><div>Type: Replicate</div><div>Status: Started</div><div>Number of Bricks: 2</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: 192.168.1.136:/opt/storage1</div>
<div>Brick2: 192.168.1.134:/opt/storage1</div><div>Options Reconfigured:</div><div>auth.allow: 192.168.1.*</div></div><div><br></div><div>The client set-up is:</div></div><div>mount -t glusterfs 192.168.1.136:/<meta charset="utf-8">myvol /opt/shared</div>
<div><br></div><div>Regards!!</div><div><br></div><div>Jorge</div>