<div dir="auto">This always helped for me in this kind of situations: <a href="http://docs.gluster.org/Troubleshooting/resolving-splitbrain/">http://docs.gluster.org/Troubleshooting/resolving-splitbrain/</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Joe Julian <<a href="mailto:joe@julianfamily.org">joe@julianfamily.org</a>> 于 2022年8月12日周五 18:33写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>It could work, but I never imagined, back then, that <b>directories</b>
could get in split-brain.</p>
<p>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" on the client mount to rebuild the directory structure.
Check the directory to make sure all the files are right before
deleting the moved odd one.<br>
<br>
If you need to fix anything, just copy from the moved directory to
a client-mount on the same machine.<br>
</p>
<div>On 8/12/22 8:12 AM, Ilias Chasapakis
forumZFD wrote:<br>
</div>
<blockquote type="cite">
<p>Dear fellow gluster users,</p>
<p>we are facing a problem with our replica 3 setup. Glusterfs
version is 9.2.<br>
</p>
<p>We have a problem with a directory that is in split-brain and
we cannot manage to heal with:</p>
<p> </p>
<blockquote type="cite">
<p>gluster volume heal gfsVol split-brain latest-mtime /folder</p>
</blockquote>
<p>The command throws the following error: "failed:Transport
endpoint is not connected." <br>
</p>
<p>So the split brain directory entry remains and and so the whole
healing process is not completing and other entries get stuck.<br>
</p>
<p>I saw there is a python script available <a href="https://github.com/joejulian/glusterfs-splitbrain" rel="noopener noreferrer noreferrer" target="_blank">https://github.com/joejulian/glusterfs-splitbrain</a>
Would that be a good solution to try? To be honest we are a bit
concerned with deleting the gfid and the files from the brick
manually as it seems it can create inconsistencies and break
things... I can of course give you more information about our
setup and situation, but if you already have some tip, that
would be fantastic.</p>
<p>Best regards</p>
<p>Ilias<br>
</p>
<pre cols="72">--
forumZFD
Entschieden für Frieden | Committed to Peace
Ilias Chasapakis
Referent IT | IT Consultant
Forum Ziviler Friedensdienst e.V. | Forum Civil Peace Service
Am Kölner Brett 8 | 50825 Köln | Germany
Tel 0221 91273243 | Fax 0221 91273299 | <a href="http://www.forumZFD.de" target="_blank" rel="noreferrer">http://www.forumZFD.de</a>
Vorstand nach § 26 BGB, einzelvertretungsberechtigt | Executive Board:
Oliver Knabe (Vorsitz | Chair), Jens von Bargen, Alexander Mauz
VR 17651 Amtsgericht Köln
Spenden | Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX</pre>
<br>
<fieldset></fieldset>
<pre>________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a href="https://meet.google.com/cpu-eiue-hvk" target="_blank" rel="noreferrer">https://meet.google.com/cpu-eiue-hvk</a>
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank" rel="noreferrer">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
</div>
________<br>
<br>
<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://meet.google.com/cpu-eiue-hvk" rel="noreferrer noreferrer" target="_blank">https://meet.google.com/cpu-eiue-hvk</a><br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div>