How to shrink replicated volume from 3 to 2 nodes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux