<div dir="ltr"><div><div><div>Hi everyone,<br></div>I have a question about replace brick in glusterFS3.5<br></div>if I want find a new brick in other node to replace old brick,<br></div><div>can I use the &quot;gluster vol XXX replace-brick&quot; cmd to replace brick?<br>
<br></div><div>I find the information about replace brick in internet<br></div><div>it say:<br><br style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">
When we initially came up with specs of &#39;glusterd&#39;, we needed an
option to replace a dead brick, and few people even requested for
having an option to migrate the data from the brick, when we are
replacing it.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">

<br style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">
The result of this is &#39;gluster volume replace-brick&#39; CLI, and in
the releases till 3.3.0 this was the only way to &#39;migrate&#39; data off
a removed brick properly.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">

<br style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">
Now, with 3.3.0+ (ie, in upstream too), we have another *better*
approach (technically), which is achieved by below
methods<br><br><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">So I can use the replace brick directly command?<br></span></div><div>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">have any method to replace brick in glusterFS without data lose?<br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">Any one can help me?<br>
</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)">Thanks a lot<br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)"><br>
</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;background-color:rgb(255,255,255)"><br></span></div><div><br></div></div>