[Gluster-users] [External] Replica 3 - how to replace failed node (peer)

Martin Toth snowmailer at gmail.com
Wed Apr 10 10:34:37 UTC 2019

I’ve read this documentation but step 4 is really unclear to me. I don’t understand related mkdir/rmdir/setfattr and so on.

Step 4:
Using the gluster volume fuse mount (In this example: /mnt/r2) set up metadata so that data will be synced to new brick (In this case it is from Server1:/home/gfs/r2_1 to Server1:/home/gfs/r2_5)

Why should I change trusted.non-existent-key on this volume? 
It is even more confusing because other mentioned howtos does not contain this step at all.


> On 10 Apr 2019, at 11:54, Davide Obbi <davide.obbi at booking.com> wrote:
> https://docs.gluster.org/en/v3/Administrator%20Guide/Managing%20Volumes/#replace-faulty-brick <https://docs.gluster.org/en/v3/Administrator%20Guide/Managing%20Volumes/#replace-faulty-brick>
> On Wed, Apr 10, 2019 at 11:42 AM Martin Toth <snowmailer at gmail.com <mailto:snowmailer at gmail.com>> wrote:
> Hi all,
> I am running replica 3 gluster with 3 bricks. One of my servers failed - all disks are showing errors and raid is in fault state.
> Type: Replicate
> Volume ID: 41d5c283-3a74-4af8-a55d-924447bfa59a
> Status: Started
> Number of Bricks: 1 x 3 = 3
> Transport-type: tcp
> Bricks:
> Brick1: node1.san:/tank/gluster/gv0imagestore/brick1
> Brick2: node2.san:/tank/gluster/gv0imagestore/brick1 <— this brick is down
> Brick3: node3.san:/tank/gluster/gv0imagestore/brick1
> So one of my bricks is totally failed (node2). It went down and all data are lost (failed raid on node2). Now I am running only two bricks on 2 servers out from 3.
> This is really critical problem for us, we can lost all data. I want to add new disks to node2, create new raid array on them and try to replace failed brick on this node. 
> What is the procedure of replacing Brick2 on node2, can someone advice? I can’t find anything relevant in documentation.
> Thanks in advance,
> Martin
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
> https://lists.gluster.org/mailman/listinfo/gluster-users <https://lists.gluster.org/mailman/listinfo/gluster-users>
> -- 
> Davide Obbi
> Senior System Administrator
> Booking.com B.V.
> Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
> Direct +31207031558
>  <https://www.booking.com/>
> Empowering people to experience the world since 1996
> 43 languages, 214+ offices worldwide, 141,000+ global destinations, 29 million reported listings 
> Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190410/eee4101c/attachment.html>

More information about the Gluster-users mailing list