<!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 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"><<a
moz-do-not-send="true" href="mailto:piotr.findeisen@azouk.com">piotr.findeisen@azouk.com</a>></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 anything 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>
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 "home2" 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 "home1" 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 "home2" 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 "home1" 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 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>