Hi,
Thank you for answering my question. And I have another question to ask.
If there has been some file(c, d, e) in the B node brick before step 6 as below.And the file c is diffetent with file c created in A mount poin.
1.gluster peer probe 128.224.162.255 //run on A node2.gluster volume create gv0 128.224.162.163:/data/brick/gv0 force //run on A node3.gluster volume start gv0 //run on A node4.mount -t glusterfs 128.224.162.163:/gv0 gluster //run on A node5.create some file(a,b,c) in directory gluster //run on A node6.gluster volume add-brick gv0 replica 2 128.224.162.255:/data/brick/gv0 force //run on A node7. gluster volume heal gv0 info split-brain //run on A node8.gluster volume heal gv0 info fulll //run on A node
After step 7, should some split-brain entries be present?
After step 8, should all files (a,b,c,d,e) will be replicate in volume gv0?
If so, how the file c be replicated when the file c is different between A brick and B brick?
在 2016-02-24 12:11:09,"Ravishankar N" <ravishankar@xxxxxxxxxx> 写道:
On 02/24/2016 07:16 AM, songxin wrote:
All files before adding the new brick must be replicated into the new brick after heal full. Anuradha's patches to automatically heal files as a part of add-brick command (without the need to manually run full heal) will be in 3.8. Meanwhile, these steps should help in triggering heals:Hi all,I have a question about replicate volume as below.
precondition:1.A node ip: 128.224.162.1632.B node ip:128.224.162.2553.A node brick:/data/brick/gv04.B node brick:/data/brick/gv0
reproduce step:1.gluster peer probe 128.224.162.255 //run on A node2.gluster volume create gv0 128.224.162.163:/data/brick/gv0 force //run on A node3.gluster volume start gv0 //run on A node4.mount -t glusterfs 128.224.162.163:/gv0 gluster //run on A node5.create some file(a,b,c) in directory gluster //run on A node6.gluster volume add-brick gv0 replica 2 128.224.162.255:/data/brick/gv0 force //run on A node7.create some file(d,e,f) in directory gluster //run on A node8.mount -t glusterfs 128.224.162.163:/gv0 gluster //run on B node9.ls gluster //run on B node
My question is as below.
After step 6, the volume type is change from distribute to replicate.The file (a,b,c) is created when the volume type is distribute.The file (d,e,f) is created when the volume type is replicate.
After step 6, does the volume will replicate the file (a,b,c) in two brick?Or it just replicate the file(d,e,f) in two brick?If I run "gluster volume heal gv0 full", does the volume will replicate the file (a,b,c) in two brick?
https://www.mail-archive.com/gluster-users@xxxxxxxxxxx/msg23293.html
Thanks,Xin
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users