frequent split-brain detected, aborting selfheal; background meta-data self-heal failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/8/13 3:56 PM, Tomasz Chmielewski wrote:
> Also, what would be the best way to "heal it" manually?
> 
> Is something like this acceptable, when issued on both servers (basically, removing that attribute)?
> 
> setfattr -x trusted.afr.shared-client-0 /data/gluster/lfd/techstudiolfc/pub
> setfattr -x trusted.afr.shared-client-1 /data/gluster/lfd/techstudiolfc/pub


We generally try to discourage this kind of thing, because it has so often
ended up making a bad problem worse, but it's your data and only you can make
the call about risks vs. benefits.  Those commands are on the right track.  If
you're *sure* that the two copies of the directory are identical, then you can
remove the trusted.afr xattrs.  Just make sure you don't remove the gfid as
well.  You could also zero them out ("-v 0x000000000000000000000000" instead of
"-x") and/or only do that for one copy to get a slight extra margin of safety.


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux