<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Probably you already tried to restart glusterfs and run ls -R?<br>
What happens if you correct AFR subvolumes order?<br>
<br>
regards,<br>
Piotr<br>
<br>
<br>
Stas Oskin wrote:
<blockquote
 cite="mid:77938bc20903090548l6bd42993j1e4db774cb07e7c7@mail.gmail.com"
 type="cite">
  <div dir="ltr">Hi.
  <div><br>
  </div>
  <div>I have a&nbsp;different&nbsp;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
 moz-do-not-send="true" href="mailto:piotr.findeisen@azouk.com">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 moz-do-not-send="true"
 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 class="h5">
      <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'm using is the
latest one - 2 rc2.</div>
      <div><br>
      </div>
      <div>Perhaps I need to modify&nbsp;anything&nbsp;else in addition to
GlusterFS
installation - like file-systems attributes or something?</div>
      <div><br>
      </div>
      <div>The approach I'm using is the one that was recommended by
Kieth
over direct emails (Keith, hope you don'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>
&nbsp;type storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # POSIX FS translator<br>
      </div>
&nbsp;option directory /media/storage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Export this directory
      <div><br>
end-volume<br>
      <br>
volume posix-locks-home1<br>
&nbsp;type features/posix-locks<br>
&nbsp;option mandatory-locks on<br>
&nbsp;subvolumes home1<br>
end-volume<br>
      <br>
## Reference volume "home2" from remote server<br>
volume home2<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
      </div>
&nbsp;option remote-host 192.168.253.42&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # IP address of remote host
      <div><br>
&nbsp;option remote-subvolume posix-locks-home1&nbsp;&nbsp;&nbsp;&nbsp; # use home1 on remote
host<br>
&nbsp;option transport-timeout 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 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>
&nbsp;type protocol/server<br>
&nbsp;option transport-type tcp<br>
&nbsp;subvolumes posix-locks-home1<br>
      </div>
&nbsp;option auth.addr.posix-locks-home1.allow 192.168.253.42,127.0.0.1 #
Allow access to "home1" volume
      <div><br>
end-volume<br>
      <br>
### Create automatic file replication<br>
volume home<br>
&nbsp;type cluster/afr<br>
&nbsp;option metadata-self-heal on<br>
&nbsp;option read-subvolume posix-locks-home1<br>
#&nbsp; option favorite-child home2<br>
&nbsp;subvolumes home2 posix-locks-home1<br>
end-volume<br>
      <br>
      <br>
      </div>
Server 2:
      <div><br>
      <br>
volume home1<br>
&nbsp;type storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # POSIX FS translator<br>
      </div>
&nbsp;option directory /media/storage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Export this directory
      <div><br>
end-volume<br>
      <br>
volume posix-locks-home1<br>
&nbsp;type features/posix-locks<br>
&nbsp;option mandatory-locks on<br>
&nbsp;subvolumes home1<br>
end-volume<br>
      <br>
## Reference volume "home2" from remote server<br>
volume home2<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
      </div>
&nbsp;option remote-host 192.168.253.41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # IP address of remote host
      <div><br>
&nbsp;option remote-subvolume posix-locks-home1&nbsp;&nbsp;&nbsp;&nbsp; # use home1 on remote
host<br>
&nbsp;option transport-timeout 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 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>
&nbsp;type protocol/server<br>
&nbsp;option transport-type tcp<br>
&nbsp;subvolumes posix-locks-home1<br>
      </div>
&nbsp;option auth.addr.posix-locks-home1.allow 192.168.253.41,127.0.0.1 #
Allow access to "home1" volume
      <div><br>
end-volume<br>
      <br>
### Create automatic file replication<br>
volume home<br>
&nbsp;type cluster/afr<br>
&nbsp;option metadata-self-heal on<br>
&nbsp;option read-subvolume posix-locks-home1<br>
#&nbsp; option favorite-child home2<br>
&nbsp;subvolumes home2 posix-locks-home1<br>
      </div>
      <div>end-volume&nbsp;</div>
      </div>
      </div>
      </div>
      </div>
      </div>
      <pre><hr size="4" width="90%"><div class="im">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org"
 target="_blank">Gluster-users@gluster.org</a>
<a moz-do-not-send="true"
 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>
</body>
</html>