[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
Hello,
I am trying to remove a failed node and reduce replication count.
Here is my nodes:
192.168.0.123
192.168.0.124
192.168.0.125
Node 192.168.0.124 crashed. Now I need to completely remove it from the
cluster.
What I have tried:
# gluster peer detach 192.168.0.124
peer detach: failed: Brick(s) with the peer 192.168.0.124 exist in cluster
# gluster volume remove-brick gv0 replica 2 192.168.0.124:/data/brick1/gv0
force
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 192.168.0.124:/data/brick1/gv0
start
volume remove-brick start: failed: number of bricks provided (1) is not
valid. need at least 2 (or 2xN)
How to properly shrink volumes?
Sincerely,
Alexandr
-------------- 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