Hi,<br><br>I&#39;ve been trying to reproduce your problem. Some observations,<br>* I&#39;ve run into &#39;No such file or directory&#39; errors, but it was due to dd not creating the file due to block size being 0 (bs=0).<br>
* As per dd error msgs, there is a space between &#39;/&#39; and &#39;mnt&#39; (/ mnt). <br>dd: opening `/ mnt/glusterfs/24427/30087.20476 &#39;: No such file or directory<br><br>please make sure that the file is getting created in first place (file may not be created due to invalid parameters to dd, like bs=0 in above case).<br>
<br>* since I am not able to reproduce it on my setup, is it possible for you to try out the test with<br>&nbsp; - afr-self-heal turned on<br>&nbsp; - afr-self-heal turned off<br>&nbsp; - following options control afr self heal<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option data-self-heal off<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option metadata-self-heal off<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option entry-self-heal off<br><br>regards,<br><div class="gmail_quote">On Wed, Dec 10, 2008 at 7:51 PM,  <span dir="ltr">&lt;<a href="mailto:a_pirania@poczta.onet.pl">a_pirania@poczta.onet.pl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>I have a problem. I have run two servers and two clients. On both clients operate in the background loop:<br><br>&nbsp;for ((j=0; j&lt; $RANDOM; j++)) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PLIK=$RANDOM.$RANDOM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dd if=/dev/urandom of=/mnt/glusterfs/$KAT/$PLIK bs=$RANDOM count=1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dd if=/mnt/glusterfs/$KAT/$PLIK of=/dev/null<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f /mnt/glusterfs/$KAT/$PLIK<br>&nbsp;&nbsp;&nbsp; }<br><br><br><br>If both servers are connected to everything is fine. If one stops working after several minutes will go back to the server, a client I have:<br>
<br>dd: opening `/ mnt/glusterfs/24427/30087.20476 &#39;: No such file or directory<br>dd: opening `/ mnt/glusterfs/24427/30087.20476 &#39;: No such file or directory<br>dd: opening `/ mnt/glusterfs/24427/18649.25895 &#39;: No such file or directory<br>
<br><br>after a few seconds, everything is working again.<br><br>I think that the client is trying to read the file from the new server. I think this is not work?<br><br><br>client:<br>
<br>
volume client1<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp/client<br>
&nbsp; option remote-host 10.0.1.130<br>
&nbsp; option remote-port 6996<br>
&nbsp; option remote-subvolume posix1<br>
end-volume<br>
<br>
volume client2<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
&nbsp;option remote-host  10.0.1.131<br>
&nbsp;option remote-port 6996<br>
&nbsp;option remote-subvolume posix2<br>
end-volume<br>
<br>
volume afr<br>
&nbsp; type cluster/afr<br>
&nbsp; subvolumes client1 client2<br>
end-volume<br>
<br>
volume rh<br>
&nbsp;type performance/read-ahead<br>
&nbsp; option page-size&nbsp; 100KB<br>
&nbsp; option page-count 3<br>
&nbsp; subvolumes afr<br>
end-volume<br>
<br>
volume wh<br>
&nbsp; type performance/write-behind<br>
&nbsp; option aggregate-size 1MB<br>
&nbsp; option flush-behind on<br>
&nbsp; subvolumes rh<br>
end-volume<br>
<br>
<br>
server:<br>
<br>
volume posix1<br>
&nbsp; type storage/posix<br>
&nbsp; option directory /var/storage/glusterfs<br>
&nbsp; option debug on<br>
end-volume<br>
<br>
volume posix-locks<br>
&nbsp; type features/posix-locks<br>
&nbsp; option mandatory on<br>
&nbsp; subvolumes posix1<br>
end-volume<br>
<br>
volume io-thr<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 2<br>
&nbsp; option cache-size 64MB<br>
&nbsp; subvolumes posix-locks<br>
end-volume<br>
<br>
volume server<br>
&nbsp; type protocol/server<br>
&nbsp; option transport-type tcp/server<br>
&nbsp; option listen-port 6996<br>
&nbsp; subvolumes io-thr<br>
&nbsp; option auth.ip.posix1.allow 10.*.*.*<br>
end-volume<br>
<br>
<br></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>