<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<META name="GENERATOR" content="onet.poczta">
<STYLE TYPE="text/css"><!--P {margin:0px}--></STYLE>
</HEAD><BODY>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 ': No such file or directory<br>dd: opening `/ mnt/glusterfs/24427/30087.20476 ': No such file or directory<br>dd: opening `/ mnt/glusterfs/24427/18649.25895 ': 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></BODY></HTML>