[Gluster-users] Replacing a replicated brick

Atin Mukherjee atin.mukherjee83 at gmail.com
Mon Jul 27 15:27:23 UTC 2015


-Atin
Sent from one plus one
On Jul 27, 2015 5:20 PM, "Vijay Bellur" <vbellur at redhat.com> wrote:
>
> On Monday 27 July 2015 04:53 PM, Atin Mukherjee wrote:
>>
>>
>>
>> On 07/27/2015 03:38 PM, Iain Milne wrote:
>>>
>>> Hi,
>>>
>>> Hopefully a fairly simple question:
>>>
>>> If I have a 3.6 distributed replica-2 setup with four nodes of one brick
>>> each (so A/B in replicate as are C/D) what is the process of commands I
>>> need to run to replace B, with new brick E?
>>
>> You can go for replace brick commit force option. Please note commit
>> force can result into data loss. You would need to ensure that you copy
>> the data from the failed brick to the new brick manually.
>>>
>>>
>
> If you ensure that the brick being replaced is not the source for any
pending self-heals, replace-brick commit force in a replicated volume is
safe. self-healing would take care of re-populating data once a new brick
is in place.
Thanks Vijay for the correction. I missed out that its a replicated volume.
>
> Regards,
> Vijay
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150727/51b16b9c/attachment.html>


More information about the Gluster-users mailing list