Re: [Gluster-devel] Split brain after replacing a brick

2018-04-06 Thread Emmanuel Dreyfus
Pranith Kumar Karampuri  wrote:

> Could you give the extended attributes of that directory on all the bricks
> to figure out the kind of split-brain?

In the meantime, I cleared all extended attributes on .attribute
directories and it fixed it.

The bug is just that something added extended attributes to this
directory at some time.IIRC the storage/posix translator avoids it, but
there must be some other code path.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] Split brain after replacing a brick

2018-04-06 Thread Pranith Kumar Karampuri
Hey Manu,
   Long time! Sorry for the delay.

On Sat, Mar 31, 2018 at 8:12 PM, Emmanuel Dreyfus  wrote:

> Hello
>
> After doing a replace-brick and a full heal, I am left with:
>
> Brick bidon:/export/wd0e
> Status: Connected
> Number of entries: 0
>
> Brick baril:/export/wd0e
> Status: Connected
> Number of entries: 0
>
> Brick bidon:/export/wd1e
> Status: Connected
> Number of entries: 0
>
> Brick baril:/export/wd1e
> Status: Connected
> Number of entries: 0
>
> Brick bidon:/export/wd2e
> Status: Connected
> Number of entries: 0
>
> Brick baril:/export/wd2e
> /.attribute
> Status: Connected
> Number of entries: 1
>
> Brick bidon:/export/wd3e_tmp
> Status: Connected
> Number of entries: 0
>
> Brick baril:/export/wd3e
> / - Is in split-brain
>
> Status: Connected
> Number of entries: 1
>
>
> I guess the baril:/export/wd3e split -brain for / fits /.attribute on
> baril:/export/wd2e? How can I check?
>
> .attribute is the hidden directory where NetBSD stores extended
> attributes. It should be ignored by healing. Is there a bug to fix here?
>

Could you give the extended attributes of that directory on all the bricks
to figure out the kind of split-brain?


>
> --
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> m...@netbsd.org
> ___
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-devel
>



-- 
Pranith
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-devel