[Gluster-users] Safely remove one replica

John Gardeniers jgardeniers at objectmastery.com
Mon Jun 22 04:37:20 UTC 2015


Until last weekend we had a simple 1x2 replicated volume, consisting of 
a single brick on each peer. After a drive failure screwed the brick on 
one peer we decided to create a new peer and swap the bricks. Running 
"gluster volume replace-brick gluster-rhev dead_peer:/gluster_brick_1 
new_peer:/gluster_brick_1 commit force".

After trying for some time and not wishing to rely on a single peer we 
added kari as an additional replica with "gluster volume add-brick 
gluster-rhev replica 3 new_peer:/gluster_brick_1 force".

Can we now *safely* remove the dead brick and revert back to replica 2?

regards,
John



More information about the Gluster-users mailing list