<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">On 8/12/22 8:12 AM, Ilias Chasapakis
forumZFD wrote:<br>
</div>
<blockquote type="cite"
cite="mid:41bf4390-aa77-ee49-d1b6-61944abd84ea@forumZFD.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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 target="_blank"
class="c-link moz-txt-link-freetext"
data-stringify-link="https://github.com/joejulian/glusterfs-splitbrain"
data-sk="tooltip_parent"
href="https://github.com/joejulian/glusterfs-splitbrain"
rel="noopener noreferrer" tabindex="-1"
data-remove-tab-index="true" moz-do-not-send="true">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 class="moz-signature" 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 class="moz-txt-link-freetext" href="http://www.forumZFD.de" moz-do-not-send="true">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 class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a class="moz-txt-link-freetext" href="https://meet.google.com/cpu-eiue-hvk">https://meet.google.com/cpu-eiue-hvk</a>
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
</body>
</html>