[Gluster-users] Replica 2 to replica 3

Strahil Nikolov hunter86_bg at yahoo.com
Sat Apr 4 06:46:59 UTC 2020

On April 3, 2020 10:12:19 PM GMT+03:00, Valerio Luccio <valerio.luccio at nyu.edu> wrote:
>I have a live gluster setup like this:
>    Volume Name: MRIData
>    Type: Distributed-Replicate
>    Volume ID: e051ac20-ead1-4648-9ac6-a29b531515ca
>    Status: Started
>    Snapshot Count: 0
>    Number of Bricks: 6 x 2 = 12
>    Transport-type: tcp
>    Bricks:
>    Brick1: hydra1:/gluster1/data
>    Brick2: hydra1:/gluster2/data
>    Brick3: hydra1:/gluster3/data
>    Brick4: hydra2:/gluster1/data
>    Brick5: hydra2:/gluster2/data
>    Brick6: hydra2:/gluster3/data
>    Brick7: hydra3:/gluster1/data
>    Brick8: hydra3:/gluster2/data
>    Brick9: hydra3:/gluster3/data
>    Brick10: hydra4:/gluster1/data
>    Brick11: hydra4:/gluster2/data
>    Brick12: hydra4:/gluster3/data
>    Options Reconfigured:
>    transport.address-family: inet
>    nfs.disable: on
>    nfs.exports-auth-enable: on
>    features.cache-invalidation: off
>This was set up as a replica 2 and I would like now to turn into a 
>replica 3. I believe it's possible without loss of data (combination of
>"replace-brick" and other commands), but cannot find any docs
>the process.
>Am I right that it is possible ? Where can I find documentation ?

Yeah it's possible.
You can add an arbiter or a full  replica depending on your needs.

Actually the info described here  is quite usefull:

Instead of arbiter, you can place a full brick, but you need to follow the warning:
1. Remove geo replication
2. Disable self healing

Of course,it  is better to create a test volume  (even with a few GB for the bricks) and test on it before executing on production.

Best Regards,
Strahil Nikolov

More information about the Gluster-users mailing list