AFR not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux