[Gluster-users] AFR not working

Krishna Srinivas krishna at zresearch.com
Wed Dec 17 18:20:17 UTC 2008


On Wed, Dec 10, 2008 at 9:21 PM,  <a_pirania at poczta.onet.pl> wrote:
> I have a problem. I have run two servers and two clients. On both clients
> operate in the background loop:
>
>  for ((j=0; j< $RANDOM; j++)) {
>         PLIK=$RANDOM.$RANDOM
>         dd if=/dev/urandom of=/mnt/glusterfs/$KAT/$PLIK bs=$RANDOM count=1
>         dd if=/mnt/glusterfs/$KAT/$PLIK of=/dev/null
>         rm -f /mnt/glusterfs/$KAT/$PLIK
>     }
>
>
>
> 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:
>
> dd: opening `/ mnt/glusterfs/24427/30087.20476 ': No such file or directory
> dd: opening `/ mnt/glusterfs/24427/30087.20476 ': No such file or directory
> dd: opening `/ mnt/glusterfs/24427/18649.25895 ': No such file or directory
>
>
> after a few seconds, everything is working again.
>
> I think that the client is trying to read the file from the new server. I
> think this is not work?
>
>
> client:
>
> volume client1
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 10.0.1.130
>   option remote-port 6996
>   option remote-subvolume posix1
> end-volume
>
> volume client2
>  type protocol/client
>  option transport-type tcp/client
>  option remote-host 10.0.1.131
>  option remote-port 6996
>  option remote-subvolume posix2
> end-volume
>

On 10.0.1.131 are you sure that it is posix2 and not posix1?
Do log files give any clue? Can you paste it?

Krishna




More information about the Gluster-users mailing list