[Gluster-users] How to shrink replicated volume from 3 to 2 nodes?

Alexandr Porunov alexandr.porunov at gmail.com
Sun Nov 27 09:28:55 UTC 2016


I am trying to remove a failed node and reduce replication count.
Here is my nodes:

Node crashed. Now I need to completely remove it from the

What I have tried:
# gluster peer detach
peer detach: failed: Brick(s) with the peer exist in cluster

# gluster volume remove-brick gv0 replica 2
Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
volume remove-brick commit force: success

# Above command showed success but in reality brick is still in the cluster.

# gluster volume remove-brick gv0 replica 2
volume remove-brick start: failed: number of bricks provided (1) is not
valid. need at least 2 (or 2xN)

How to properly shrink volumes?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161127/774ef716/attachment.html>

More information about the Gluster-users mailing list