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
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to