Description of problem: Replica counts cannot be decreased on active volumes Version-Release number of selected component (if applicable): RHS 2.1 How reproducible: Always Steps to Reproduce: 1. Create a 3-way replica volume [root@rhs21-01vm ~]# gluster volume info my-threerep-volume Volume Name: my-threerep-volume Type: Replicate Volume ID: 028f61c7-6fd1-4771-af05-a925b2972e64 Status: Started Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: rhs21-01vm:/bricks/brick5 Brick2: rhs21-02vm:/bricks/brick6 Brick3: rhs21-03vm:/bricks/brick7 2. Attempt to remove a brick and change replica count to 2 [root@rhs21-01vm ~]# gluster volume remove-brick my-threerep-volume replica 2 rhs21-02vm:/bricks/brick6 Actual results: Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y volume remove-brick commit force: failed: Removing brick from a replicate volume is not allowed Expected results: brick removed, volume replica count updated to 2
This feature is not widely requested. Users do not usually modify their replication level dynamically. Hence closing it as this is a low priority.