Hello,
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,
Ravi
1.gluster
peer probe 128.224.162.255
//run on A node
2.gluster volume create gv0 128.224.162.163:/data/brick/gv0 force
//run on A node
3.gluster volume start gv0
//run on A node
4.mount
-t glusterfs 128.224.162.163:/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
128.224.162.255:/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 gv0?
If so, how the
file c be replicated when the file c is different
between A brick and B brick?