This always helped for me in this kind of situations:
http://docs.gluster.org/Troubleshooting/resolving-splitbrain/
Joe Julian 于 2022年8月12日周五 18:33写道:
> It could work, but I never imagined, back then, that *directories* could
> get in split-brain.
>
> The most likely reason for that split is
Dear fellow gluster users,
we are facing a problem with our replica 3 setup. Glusterfs version is 9.2.
We have a problem with a directory that is in split-brain and we cannot
manage to heal with:
gluster volume heal gfsVol split-brain latest-mtime /folder
The command throws the following
It could work, but I never imagined, back then, that *directories* could
get in split-brain.
The most likely reason for that split is that there's a gfid mismatch on
one of the replicas. I'd go to the brick with the odd gfid, move that
directory out of the brick path, then do a "find folder"
Interesting. I've never seen that. It's always been gfid mismatches for
me since they first started adding gfids to directories.
On 8/12/22 1:27 PM, Strahil Nikolov wrote:
Usually dirs are in split-brain due to content mismatch.
For example, if a file inside a dir can't be healed automaticaly