<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
On 02/24/2016 10:03 AM, songxin wrote:<br>
</div>
<blockquote
cite="mid:e75da11.5414.153118dee1f.Coremail.songxin_1980@126.com"
type="cite">
<div>Hi,</div>
<div>Thank you for answering my question. And I have another
question to ask.</div>
<div>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. <br>
</div>
</blockquote>
<br>
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.<br>
Hope that helps,<br>
Ravi<br>
<blockquote
cite="mid:e75da11.5414.153118dee1f.Coremail.songxin_1980@126.com"
type="cite">
<div><br>
</div>
<div>
<blockquote
cite="mid:17286fdf.2048.15310f458cb.Coremail.songxin_1980@126.com"
type="cite" style="line-height: 23.8px;">
<div style="line-height: 1.7;">
<div><span style="line-height: 23.8px;">1.</span>gluster
peer probe <span style="line-height: 23.8px;">128.224.162.255</span>
<span style="line-height: 23.8px;"> //run
on A node</span></div>
<div>2.gluster volume create gv0 <span style="line-height:
23.8px;">128.224.162.163</span>:<span
style="line-height: 23.8px;">/data/brick/gv0</span> force
//run on A node</div>
<div>3.gluster volume start gv0
<span style="line-height: 23.8px;"> //run on
A node</span></div>
<div><span style="line-height: 23.8px;">4.</span>mount -t
glusterfs 128.224.162.163:/gv0 gluster
<span
style="line-height: 23.8px;">//run on A node</span></div>
<div>5.create some file(a,b,c) in directory gluster
<span style="line-height: 23.8px;">//run on A node</span></div>
<div><span style="line-height: 23.8px;">6.</span>gluster
volume add-brick gv0 replica 2
128.224.162.255:/data/brick/gv0 force <span
style="line-height: 23.8px;"> </span><span
style="line-height: 23.8px;"> //run on A node</span></div>
<div><span style="line-height: 23.8px;">7.</span><span
style="line-height: 23.8px;"> </span><span style="color:
rgb(51, 51, 51); font-family: Arial, sans-serif;
line-height: 20px;">gluster volume heal gv0 info
split-brain</span><span style="line-height: 23.8px;">
</span><span style="line-height:
23.8px;">//run on A node</span></div>
<div><span style="line-height: 23.8px;">8.</span><span
style="color: rgb(51, 51, 51); font-family: Arial,
sans-serif; line-height: 20px;">gluster volume heal gv0
info fulll </span><span style="line-height:
23.8px;">
</span><span
style="line-height: 23.8px;">//run on A node</span></div>
</div>
</blockquote>
</div>
<div><span style="line-height: 23.8px;">After step 7, should some</span><span
style="color: rgb(51, 51, 51); font-family: Arial, sans-serif;
line-height: 20px;"> split-brain</span><span style="color:
rgb(51, 51, 51); font-family: Arial, sans-serif; line-height:
20px;"> entries be present?</span></div>
<div><span style="line-height: 23.8px;">After step 8, should all
files (a,b,c,d,e) will be replicate in volume gv0</span><span
style="color: rgb(51, 51, 51); font-family: Arial, sans-serif;
line-height: 20px;">?</span></div>
<div><span style="color: rgb(51, 51, 51); font-family: Arial,
sans-serif; line-height: 20px;">If so, how the file c be
replicated when the file c is different between A brick and B
brick?</span></div>
<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>