[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] split brain: how should it be cured?
From: |
Pranith Kumar Karampuri |
Subject: |
Re: [Gluster-devel] split brain: how should it be cured? |
Date: |
Wed, 20 Jun 2012 05:35:36 -0400 (EDT) |
I dont think they are in split-brain. For split brain the flags should be
mirror images:
Example:
trusted.afr.pfs-client-0 00 00 00 00 00 00 00 00 00 00 00 00
trusted.afr.pfs-client-1 00 00 00 00 00 00 00 01 00 00 00 00
trusted.afr.pfs-client-0 00 00 00 00 00 00 00 00 00 00 00 00
trusted.afr.pfs-client-1 00 00 00 00 00 00 00 01 00 00 00 00
Procedure to reset split-brain is to remove one of the files. 3.3 release
onwards we need to also delete the file from gfid-backend.
if the file is a.txt with gfid 5c71a049-a424-480e-9e69-2cdfd7a0a7a0
remove the file a.txt
remove the file
<brick-path>/.glusterfs/5c/71/5c71a049-a424-480e-9e69-2cdfd7a0a7a0
the gfid path is a hardlink to a.txt
Pranith.
----- Original Message -----
From: "Emmanuel Dreyfus" <address@hidden>
To: "Pranith Kumar Karampuri" <address@hidden>
Cc: address@hidden
Sent: Tuesday, June 19, 2012 7:31:16 AM
Subject: Re: [Gluster-devel] split brain: how should it be cured?
Pranith Kumar Karampuri <address@hidden> wrote:
> regression 832305
> Patch: http://review.gluster.com/#change,3583
Um, now both bricks have the split brain flag. How removing the file on
one brick will make it recreated on the other one, but the split brain
flag is sticky!
On brick1:
trusted.gfid 6b db b7 73 cc e7 46 a8 9d fc 96 40 2c 6a fe e8
trusted.afr.pfs-client-0 00 00 00 00 00 00 00 03 00 00 00 00
trusted.afr.pfs-client-1 00 00 00 00 00 00 00 01 00 00 00 00
On brick2:
trusted.gfid 6b db b7 73 cc e7 46 a8 9d fc 96 40 2c 6a fe e8
trusted.afr.pfs-client-0 00 00 00 00 00 00 00 00 00 00 00 00
trusted.afr.pfs-client-1 00 00 00 00 00 00 00 01 00 00 00 00
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden
- [Gluster-devel] split brain: how should it be cured?, Emmanuel Dreyfus, 2012/06/18
- Re: [Gluster-devel] split brain: how should it be cured?, Pranith Kumar Karampuri, 2012/06/18
- Re: [Gluster-devel] split brain: how should it be cured?, Emmanuel Dreyfus, 2012/06/20
- Re: [Gluster-devel] split brain: how should it be cured?, Pranith Kumar Karampuri, 2012/06/20
- Re: [Gluster-devel] split brain: how should it be cured?, Anand Avati, 2012/06/21
- Re: [Gluster-devel] split brain: how should it be cured?, Pranith Kumar Karampuri, 2012/06/21
- Re: [Gluster-devel] split brain: how should it be cured?, Emmanuel Dreyfus, 2012/06/21
- Re: [Gluster-devel] split brain: how should it be cured?, Anand Avati, 2012/06/21