[Gluster-users] question about replicate volume
ravishankar at redhat.com
Wed Feb 24 04:42:39 UTC 2016
On 02/24/2016 10:03 AM, songxin wrote:
> 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 18.104.22.168 //run on A node
>> 2.gluster volume create gv0 22.214.171.124:/data/brick/gv0 force
>> //run on A node
>> 3.gluster volume start gv0 //run on A node
>> 4.mount -t glusterfs 126.96.36.199:/gv0 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
>> 188.8.131.52:/data/brick/gv0 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
> 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...
More information about the Gluster-users