Thank you for your reply. I had setuped two test VM with gluster 3.7.2 on ubuntu trusty and repeated actions: 1. setuped and create gluster share in replicate mode with 2 bricks; 2. mounted share on both servers (like client) by glusterfs; 3. create some files in share; 4. blocked network connection between peer (gluster peer disconnected) by iptables; 5. appended text in the same file in share from both node (file with name 'test'); 6. returned network connection bettween peer (removed iptables rule). 7. got split-brain on edited by me file.
I check existence split-brain: root@dist-gl2:/# gluster volume heal repofiles info Brick dist-gl1:/brick1/ /test / - Is in split-brain Number of entries: 2 Brick dist-gl2:/brick1/ / - Is in split-brain /test Number of entries: 2 root@dist-gl2:/# gluster volume heal repofiles info split-brain Brick dist-gl1:/brick1/ / Number of entries in split-brain: 1 Brick dist-gl2:/brick1/ / Number of entries in split-brain: 1 root@dist-gl2:/# Why does split-brain showed for directory (/) only, and why doesn't show for file (/test) where real split-brain? Addition info: root@dist-gl2:/# cat /etc/issue Ubuntu 14.04.1 LTS \n \l root@dist-gl2:/# dpkg -l | grep gluster ii glusterfs-client 3.7.2-ubuntu1~trusty1 amd64 clustered file-system (client package) ii glusterfs-common 3.7.2-ubuntu1~trusty1 amd64 GlusterFS common libraries and translator modules ii glusterfs-server 3.7.2-ubuntu1~trusty1 amd64 clustered file-system (server package) root@dist-gl2:/# gluster volume info Volume Name: repofiles Type: Replicate Volume ID: 1d5d5d7d-39f2-4011-9fc8-d73c29495e7c Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: dist-gl1:/brick1 Brick2: dist-gl2:/brick1 Options Reconfigured: performance.readdir-ahead: on server.allow-insecure: on root@dist-gl2:/# 2015-07-15 14:41 GMT+03:00 Ravishankar N <[email protected]>: > This is been fixed in glusterfs 3.7, please see the thread > https://www.gluster.org/pipermail/gluster-users/2015-June/022336.html > > > On 07/15/2015 05:06 PM, Игорь Бирюлин wrote: > > Hello, > I have made split brain special for test (file /1 in output). > And check with command: > [14:20:10] root@xxx04:/repo # gluster v heal repofiles info > Brick xxx03:/storage/gluster_brick_repofiles/ > / - Is in split-brain > > /1 > Number of entries: 2 > > Brick xxx04:/storage/gluster_brick_repofiles/ > / - Is in split-brain > > /1 > Number of entries: 2 > > [14:20:27] root@xxx04:/repo # > > But when I try look for files in split-brain by command "gluster v heal > repofiles info split-brain", I don't see entries: > [14:20:27] root@xxx04:/repo # gluster v heal repofiles info split-brain > Gathering list of split brain entries on volume repofiles has been > successful > > Brick xxx03:/storage/gluster_brick_repofiles > Number of entries: 0 > > Brick xxx04:/storage/gluster_brick_repofiles > Number of entries: 0 > > [14:20:34] root@xxx04:/repo # > > The question is why I can not see files in split-brain by the last command? > > Additional info: > [14:20:34] root@xxx04:/repo # cat /etc/issue > Ubuntu 12.04.5 LTS \n \l > > > [14:31:32] root@xxx04:/repo # dpkg -l | grep gluster > ii glusterfs-client 3.6.3-6 > clustered file-system (client package) > ii glusterfs-common 3.6.3-6 > GlusterFS common libraries and translator modules > ii glusterfs-server 3.6.3-6 > clustered file-system (server package) > > [14:31:39] root@xxx04:/repo # gluster volume info > > Volume Name: repofiles > Type: Replicate > Volume ID: 3d30a803-35b0-46c8-96a6-4ae19e21f25b > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: xxx03:/storage/gluster_brick_repofiles > Brick2: xxx04:/storage/gluster_brick_repofiles > Options Reconfigured: > server.allow-insecure: on > > Volume Name: share > Type: Replicate > Volume ID: ecf80f1a-cd26-4c5e-a9a3-71fd8d89cbf8 > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: xxx03:/place/share > Brick2: xxx04:/place/share > Options Reconfigured: > server.allow-insecure: on > > > [14:31:48] root@xxx04:/repo # > > Best regards, > Igor > > > > _______________________________________________ > Gluster-users mailing > [email protected]http://www.gluster.org/mailman/listinfo/gluster-users > > >
_______________________________________________ Gluster-users mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-users
