[Gluster-users] question about replicate volume

Ravishankar N ravishankar at redhat.com
Wed Feb 24 04:42:39 UTC 2016


On 02/24/2016 10:03 AM, songxin wrote:
> 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.

Any new brick that you add to a volume has to be empty. It must not 
contain data or be a brick that was  a part of another volume etc.
Hope that helps,
>> 1.gluster peer probe  //run on A node
>> 2.gluster volume create gv0 force     
>>                                 //run on A node
>> 3.gluster volume start gv0  //run on A node
>> 4.mount -t glusterfs gluster //run on A node
>> 5.create some file(a,b,c) in directory gluster //run on A node
>> 6.gluster volume add-brick gv0 replica 2 
>> force  //run on A node
>> 7.gluster volume heal gv0 info split-brain//run on A node
>> 8.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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160224/ee592425/attachment.html>

More information about the Gluster-users mailing list