<div dir="ltr"><div>Hi.</div><div><br></div>Nope, same results - no sync and &quot;breaking reconnect chain&quot; error.<div><br></div><div>Regards.<br><br><div class="gmail_quote">2009/3/9 Piotr Findeisen <span dir="ltr">&lt;<a href="mailto:piotr.findeisen@azouk.com">piotr.findeisen@azouk.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Probably you already tried to restart glusterfs and run ls -R?<br>
What happens if you correct AFR subvolumes order?<div><div></div><div class="h5"><br>
<br>
regards,<br>
Piotr<br>
<br>
<br>
Stas Oskin wrote:
<blockquote type="cite">
  <div dir="ltr">Hi.
  <div><br>
  </div>
  <div>I have a different case - the files are not appearing at all, no
matter whether they 0 or full size.</div>
  <div><br>
  </div>
  <div>Regards.<br>
  <br>
  <div class="gmail_quote">2009/3/9 Piotr Findeisen <span dir="ltr">&lt;<a href="mailto:piotr.findeisen@azouk.com" target="_blank">piotr.findeisen@azouk.com</a>&gt;</span><br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
    <div bgcolor="#ffffff" text="#000000">
Hi, Stas!<br>
    <br>
Did you see <a href="https://savannah.nongnu.org/bugs/?25681" target="_blank">https://savannah.nongnu.org/bugs/?25681</a>
?<br>
Maybe you have the same problem with AFR as mentioned there (one of
mentioned).<br>
    <br>
regards,<br>
Piotr<br>
    <br>
Stas Oskin wrote:
    <blockquote type="cite">
      <div>
      <div>
      <div dir="ltr">Hi.
      <div><br>
      </div>
      <div>
      <div class="gmail_quote">
      <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Was
it working for your previously? Any other error logs on machine<br>
with afr? what version are you using? If it was working previously<br>
what changed in your setup recently? Can you paste your vol files<br>
(just to be sure)<br>
      </blockquote>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Nope, it actually my first setup in lab. No errors - it just
seems as not synchronizing anything. The version I&#39;m using is the
latest one - 2 rc2.</div>
      <div><br>
      </div>
      <div>Perhaps I need to modify anything else in addition to
GlusterFS
installation - like file-systems attributes or something?</div>
      <div><br>
      </div>
      <div>The approach I&#39;m using is the one that was recommended by
Kieth
over direct emails (Keith, hope you don&#39;t mind me posting them :) ).</div>
      <div>The idea is basically to have single vol file both for
client
and for server, and to have one glusterfs process doing the job both as
client and as server.</div>
      <div><br>
      </div>
      <div>Thanks for the help.</div>
      <div><br>
      </div>
Server 1:
      <div><br>
volume home1<br>
 type storage/posix                   # POSIX FS translator<br>
      </div>
 option directory /media/storage        # Export this directory
      <div><br>
end-volume<br>
      <br>
volume posix-locks-home1<br>
 type features/posix-locks<br>
 option mandatory-locks on<br>
 subvolumes home1<br>
end-volume<br>
      <br>
## Reference volume &quot;home2&quot; from remote server<br>
volume home2<br>
 type protocol/client<br>
 option transport-type tcp/client<br>
      </div>
 option remote-host 192.168.253.42      # IP address of remote host
      <div><br>
 option remote-subvolume posix-locks-home1     # use home1 on remote
host<br>
 option transport-timeout 10           # value in seconds; it should be
set relatively low<br>
end-volume<br>
      <br>
### Add network serving capability to above home.<br>
volume server<br>
 type protocol/server<br>
 option transport-type tcp<br>
 subvolumes posix-locks-home1<br>
      </div>
 option auth.addr.posix-locks-home1.allow 192.168.253.42,127.0.0.1 #
Allow access to &quot;home1&quot; volume
      <div><br>
end-volume<br>
      <br>
### Create automatic file replication<br>
volume home<br>
 type cluster/afr<br>
 option metadata-self-heal on<br>
 option read-subvolume posix-locks-home1<br>
#  option favorite-child home2<br>
 subvolumes home2 posix-locks-home1<br>
end-volume<br>
      <br>
      <br>
      </div>
Server 2:
      <div><br>
      <br>
volume home1<br>
 type storage/posix                   # POSIX FS translator<br>
      </div>
 option directory /media/storage        # Export this directory
      <div><br>
end-volume<br>
      <br>
volume posix-locks-home1<br>
 type features/posix-locks<br>
 option mandatory-locks on<br>
 subvolumes home1<br>
end-volume<br>
      <br>
## Reference volume &quot;home2&quot; from remote server<br>
volume home2<br>
 type protocol/client<br>
 option transport-type tcp/client<br>
      </div>
 option remote-host 192.168.253.41      # IP address of remote host
      <div><br>
 option remote-subvolume posix-locks-home1     # use home1 on remote
host<br>
 option transport-timeout 10           # value in seconds; it should be
set relatively low<br>
end-volume<br>
      <br>
### Add network serving capability to above home.<br>
volume server<br>
 type protocol/server<br>
 option transport-type tcp<br>
 subvolumes posix-locks-home1<br>
      </div>
 option auth.addr.posix-locks-home1.allow 192.168.253.41,127.0.0.1 #
Allow access to &quot;home1&quot; volume
      <div><br>
end-volume<br>
      <br>
### Create automatic file replication<br>
volume home<br>
 type cluster/afr<br>
 option metadata-self-heal on<br>
 option read-subvolume posix-locks-home1<br>
#  option favorite-child home2<br>
 subvolumes home2 posix-locks-home1<br>
      </div>
      <div>end-volume </div>
      </div>
      </div>
      </div>
      </div>
      </div>
      <pre><hr size="4" width="90%"><div>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a>
  </div></pre>
    </blockquote>
    </div>
  </blockquote>
  </div>
  </div>
  </div>
</blockquote>
</div></div></div>

</blockquote></div></div></div>