File Inconsistency

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

 



Hi All,

 

I am using 4 server nodes, afr + unify , glusterfs 1.3 .12 . I found that the content of file are no consistency when I did failover testing. Time zone of nodes are sync.  

My testing as below:

 

1. Create a file on client side

   $echo aaaaaa > file  

2. Stop server 1

3. edit file

   $echo a > file

4. Start server 1

5. Cat file on client side

  Result :

a

6. Cat file on server 1  

  Result :

  a

  aaaa  

7. Cat file on server 2

  Result:

  a

 

The symptom can repeat easily, do you know what’s problem ? Thx a lot

Ben

 

#Server.vol

volume storage-ds

  type storage/posix

   option directory /test/storage

end-volume

   volume storage-ns

           type storage/posix

           option directory /test/storage-ns

   end-volume

volume storage-ds-locks

  type features/posix-locks

  subvolumes storage-ds

  option mandatory on

end-volume

   volume server

     type protocol/server

     option transport-type tcp/server

     subvolumes storage-ds-locks

     option auth.ip.storage-ds-locks.allow 192.168.10.*

     option auth.ip.storage-ns.allow 192.168.10.*

 end-volume

 

#Client.vol

 

volume server1

     type protocol/client

     option transport-type tcp/client

     option remote-host 192.168.10.65

     option transport-timeout 30

     option remote-subvolume storage-ds-locks

   end-volume

 

   volume server1-ns

     type protocol/client

     option transport-type tcp/client

     option remote-host  192.168.10.65

     option transport-timeout 30

     option remote-subvolume storage-ns

   end-volume

 

   volume server2

     type protocol/client

     option transport-type tcp/client

     option remote-host  192.168.10.66

     option transport-timeout 30

     option remote-subvolume storage-ds-locks

   end-volume

 

   volume server2-ns

     type protocol/client

     option transport-type tcp/client

     option remote-host  192.168.10.66

     option transport-timeout 30

     option remote-subvolume storage-ns

   end-volume

 

   volume server3

     type protocol/client

     option transport-type tcp/client

     option remote-host  192.168.10.67

     option transport-timeout 30

     option remote-subvolume storage-ds-locks

   end-volume

 

 

   volume server4

     type protocol/client

     option transport-type tcp/client

     option remote-host  192.168.10.68

     option transport-timeout 30

     option remote-subvolume storage-ds-locks

   end-volume

 

   volume afr-ns

        type cluster/afr

        subvolumes server1-ns server2-ns

   end-volume

 

   volume afr01

        type cluster/afr

        subvolumes server1 server2

   end-volume

 

   volume afr02

        type cluster/afr

        subvolumes server3 server4

   end-volume

 

   volume storage-unify

           type cluster/unify

           subvolumes afr01 afr02

           option namespace afr-ns

           option scheduler rr

           option rr.limits.min-free-disk 5%

   end-volume


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

  Powered by Linux