<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you Karthik,<div class=""><br class=""></div><div class="">I have run this for all files (see example below) and it says the file is not in split-brain:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sudo gluster volume heal storage2 split-brain latest-mtime&nbsp; /dms/final_archive/41be9ff5ec05c4b1c989c6053e709e59</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Healing /dms/final_archive/41be9ff5ec05c4b1c989c6053e709e59 failed: File not in split-brain.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Volume heal failed.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">- Kindest regards,<br class=""><br class="">Milos Cuculovic<br class="">IT Manager<br class=""><br class="">---<br class="">MDPI AG<br class="">Postfach, CH-4020 Basel, Switzerland<br class="">Office: St. Alban-Anlage 66, 4052 Basel,&nbsp;Switzerland<br class="">Tel. +41 61 683 77 35<br class="">Fax +41 61 302 89 18<br class=""><a href="mailto:cuculovic@mdpi.com" class="">Email:&nbsp;cuculovic@mdpi.com</a><br class="">Skype: milos.cuculovic.mdpi<br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Disclaimer: The information and files&nbsp;contained in this message are&nbsp;confidential and intended solely for the&nbsp;use of the individual or entity to whom&nbsp;they are addressed. If you have received&nbsp;this message in error, please notify me&nbsp;and delete this message from your&nbsp;system. You may not copy this message&nbsp;in its entirety or in part, or disclose its&nbsp;contents to anyone.</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 21 Mar 2019, at 12:36, Karthik Subrahmanya &lt;<a href="mailto:ksubrahm@redhat.com" class="">ksubrahm@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi&nbsp;Milos,<div class=""><br class=""></div><div class="">Thanks for the logs and the getfattr output.</div><div class="">From the logs I can see that there are 6 entries under the directory&nbsp;"/data/data-cluster/dms/final_archive" named</div><div class="">41be9ff5ec05c4b1c989c6053e709e59</div><div class=""><div class="">5543982fab4b56060aa09f667a8ae617</div><div class="">a8b7f31775eebc8d1867e7f9de7b6eaf</div><div class="">c1d3f3c2d7ae90e891e671e2f20d5d4b</div><div class="">e5934699809a3b6dcfc5945f408b978b</div><div class="">e7cdc94f60d390812a5f9754885e119e</div></div><div class=""><div class="">which are having gfid mismatch, so the heal is failing on this directory.</div><div class=""><br class=""></div></div><div class="">You can use the CLI option to resolve these files from gfid mismatch. You can use any of the 3 methods available:</div><div class="">1. bigger-file</div><div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class="">gluster volume heal &lt;VOLNAME&gt; split-brain bigger-file &lt;FILE&gt;</span><br class=""></div><div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class=""><br class=""></span></div>2. latest-mtime<div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class="">gluster volume heal &lt;VOLNAME&gt; split-brain latest-mtime &lt;FILE&gt;</span><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class=""><br class=""></span></div><div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class=""><br class=""></span></div>3. source-brick<div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class="">gluster volume heal &lt;VOLNAME&gt; split-brain source-brick &lt;HOSTNAME:BRICKNAME&gt; &lt;FILE&gt;</span><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class=""><br class=""></span></div><div class=""><span style="color:rgb(55,71,79);font-family:&quot;Roboto Mono&quot;,&quot;Courier New&quot;,Courier,monospace;font-size:14.96px;background-color:rgba(236,236,236,0.5)" class=""><br class=""></span></div>where &lt;FILE&gt; must be absolute path w.r.t. the volume, starting with '/'.</div><div dir="ltr" class="">If all those entries are directories then go for either latest-mtime/source-brick option.</div><div class="">After you resolve all these gfid-mismatches, run the "gluster volume heal &lt;volname&gt;" command. Then check the heal info and let me know the result.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Karthik</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 4:27 PM Milos Cuculovic &lt;<a href="mailto:cuculovic@mdpi.com" class="">cuculovic@mdpi.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Sure, thank you for following up.<div class=""></div></div><div style="overflow-wrap: break-word;" class=""><div class=""></div></div><div style="overflow-wrap: break-word;" class=""><div class=""></div><div class=""><br class=""></div><div class="">About the commands, here is what I see:</div><div class=""><br class=""></div><div class="">brick1:</div><div class="">—————————————————————————————————————</div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo gluster volume heal storage2 info</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage3:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:256ca960-1601-4f0d-9b08-905c6fd52326&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:7a63a729-c48f-4a00-9040-c3e2a0710ae6&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 3</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage4:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:276fec9a-1c9b-4efe-9715-dcf4207e99b0&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 2</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">—————————————————————————————————————</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo getfattr -d -m . -e hex /data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">getfattr: Removing leading '/' from absolute path names</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""># file: data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.afr.dirty=0x000000000000000000000000</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.afr.storage2-client-1=0x000000000000000000000010</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.gfid=0x16c6a1e2b3fe4851972b998980097a87</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.glusterfs.dht=0x000000010000000000000000ffffffff</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.glusterfs.dht.mds=0x00000000</span></div></span></div><div class="">—————————————————————————————————————</div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">stat /data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; File: '/data/data-cluster/dms/final_archive'</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; Size: 3497984 &nbsp; <span class="gmail-m_8539117702775147956Apple-tab-span" style="white-space:pre-wrap">        </span>Blocks: 8768 &nbsp; &nbsp; &nbsp; IO Block: 4096 &nbsp; directory</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Device: 807h/2055d<span class="gmail-m_8539117702775147956Apple-tab-span" style="white-space:pre-wrap">        </span>Inode: 26427748396&nbsp; Links: 72123</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Access: (0755/drwxr-xr-x)&nbsp; Uid: ( &nbsp; 33/www-data) &nbsp; Gid: ( &nbsp; 33/www-data)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Access: 2018-10-09 04:22:40.514629044 +0200</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Modify: 2019-03-21 11:55:37.382278863 +0100</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Change: 2019-03-21 11:55:37.382278863 +0100</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp;Birth: -</span></div></div><div class="">—————————————————————————————————————</div><div class="">—————————————————————————————————————</div><div class=""><br class=""></div><div class="">brick2:</div><div class=""><div class="">—————————————————————————————————————</div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo gluster volume heal storage2 info</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage3:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:256ca960-1601-4f0d-9b08-905c6fd52326&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:7a63a729-c48f-4a00-9040-c3e2a0710ae6&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 3</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage4:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:276fec9a-1c9b-4efe-9715-dcf4207e99b0&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 2</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">—————————————————————————————————————</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo getfattr -d -m . -e hex /data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">getfattr: Removing leading '/' from absolute path names</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""># file: data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.afr.dirty=0x000000000000000000000000</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.afr.storage2-client-0=0x000000000000000000000001</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.gfid=0x16c6a1e2b3fe4851972b998980097a87</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.glusterfs.dht=0x000000010000000000000000ffffffff</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">trusted.glusterfs.dht.mds=0x00000000</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">—————————————————————————————————————</span></div></span></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">stat /data/data-cluster/dms/final_archive</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; File: '/data/data-cluster/dms/final_archive'</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; Size: 3497984 &nbsp; <span class="gmail-m_8539117702775147956Apple-tab-span" style="white-space:pre-wrap">        </span>Blocks: 8760 &nbsp; &nbsp; &nbsp; IO Block: 4096 &nbsp; directory</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Device: 807h/2055d<span class="gmail-m_8539117702775147956Apple-tab-span" style="white-space:pre-wrap">        </span>Inode: 13563551265&nbsp; Links: 72124</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Access: (0755/drwxr-xr-x)&nbsp; Uid: ( &nbsp; 33/www-data) &nbsp; Gid: ( &nbsp; 33/www-data)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Access: 2018-10-09 04:22:40.514629044 +0200</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Modify: 2019-03-21 11:55:46.382565124 +0100</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Change: 2019-03-21 11:55:46.382565124 +0100</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp;Birth: -</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">—————————————————————————————————————</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class="">Hope this helps.</div><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class="gmail-m_8539117702775147956Apple-interchange-newline">- Kindest regards,<br class=""><br class="">Milos Cuculovic<br class="">IT Manager<br class=""><br class="">---<br class="">MDPI AG<br class="">Postfach, CH-4020 Basel, Switzerland<br class="">Office: St. Alban-Anlage 66, 4052 Basel,&nbsp;Switzerland<br class="">Tel. +41 61 683 77 35<br class="">Fax +41 61 302 89 18<br class=""><a href="mailto:cuculovic@mdpi.com" target="_blank" class="">Email:&nbsp;cuculovic@mdpi.com</a><br class="">Skype: milos.cuculovic.mdpi<br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">Disclaimer: The information and files&nbsp;contained in this message are&nbsp;confidential and intended solely for the&nbsp;use of the individual or entity to whom&nbsp;they are addressed. If you have received&nbsp;this message in error, please notify me&nbsp;and delete this message from your&nbsp;system. You may not copy this message&nbsp;in its entirety or in part, or disclose its&nbsp;contents to anyone.</div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 21 Mar 2019, at 11:43, Karthik Subrahmanya &lt;<a href="mailto:ksubrahm@redhat.com" target="_blank" class="">ksubrahm@redhat.com</a>&gt; wrote:</div><br class="gmail-m_8539117702775147956Apple-interchange-newline"><div class=""><div dir="ltr" class="">Can you attach the "glustershd.log"&nbsp; file which will be present under "/var/log/glusterfs/" from both the nodes and the "stat" &amp; "getfattr -d -m . -e hex &lt;file-path-on-brick&gt;" output of all the entries listed in the heal info output from both the bricks?</div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 3:54 PM Milos Cuculovic &lt;<a href="mailto:cuculovic@mdpi.com" target="_blank" class="">cuculovic@mdpi.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">Thanks&nbsp;Karthik!<div class=""><br class=""></div><div class="">I was trying to find some resolution methods from [2] but unfortunately none worked (I can explain what I tried if needed).</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I guess the volume you are talking about is of type replica-2 (1x2).</div></div></div></div></div></blockquote>That’s correct, aware of the arbiter solution but still didn’t took time to implement.</div><div class=""><br class=""></div><div class="">From the info results I posted, how to know in which situation I am. No files are mentioned in spit brain, only directories. One brick has 3 entries and one two entries.<div class=""><br class="gmail-m_8539117702775147956gmail-m_1351967363676197946webkit-block-placeholder"></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo gluster volume heal storage2 info</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[sudo] password for sshadmin:&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage3:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:256ca960-1601-4f0d-9b08-905c6fd52326&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:7a63a729-c48f-4a00-9040-c3e2a0710ae6&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 3</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage4:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:276fec9a-1c9b-4efe-9715-dcf4207e99b0&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Possibly undergoing heal</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 2</span></div></div><div class=""><br class=""></div><div class=""><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">- Kindest regards,<br class=""><br class="">Milos Cuculovic<br class="">IT Manager<br class=""><br class="">---<br class="">MDPI AG<br class="">Postfach, CH-4020 Basel, Switzerland<br class="">Office: St. Alban-Anlage 66, 4052 Basel,&nbsp;Switzerland<br class="">Tel. +41 61 683 77 35<br class="">Fax +41 61 302 89 18<br class=""><a href="mailto:cuculovic@mdpi.com" target="_blank" class="">Email:&nbsp;cuculovic@mdpi.com</a><br class="">Skype: milos.cuculovic.mdpi<br class=""></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Disclaimer: The information and files&nbsp;contained in this message are&nbsp;confidential and intended solely for the&nbsp;use of the individual or entity to whom&nbsp;they are addressed. If you have received&nbsp;this message in error, please notify me&nbsp;and delete this message from your&nbsp;system. You may not copy this message&nbsp;in its entirety or in part, or disclose its&nbsp;contents to anyone.</div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 21 Mar 2019, at 10:27, Karthik Subrahmanya &lt;<a href="mailto:ksubrahm@redhat.com" target="_blank" class="">ksubrahm@redhat.com</a>&gt; wrote:</div><br class="gmail-m_8539117702775147956gmail-m_1351967363676197946Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Note: I guess the volume you are talking about is of type replica-2 (1x2). Usually replica 2 volumes are prone to split-brain. If you can consider converting them to arbiter or replica-3, they will handle most of the cases which can lead to slit-brains. For more information see [1].<br class=""></div><div class=""><br class=""></div><div class="">Resolving the split-brain: [2] talks about how to interpret the heal info output and different ways to resolve them using the CLI/manually/using the favorite-child-policy.</div><div class="">If you are having entry split brain, and is a gfid split-brain (file/dir having different gfids on the replica bricks) then you can use the CLI option to resolve them. If a directory is in gfid split-brain in a distributed-replicate volume and you are using the source-brick option please make sure you use the brick of this subvolume, which has the same gfid as that of the other distribute subvolume(s) where you have the correct gfid, as the source.</div><div class="">If you are having a type mismatch then follow the steps in [3] to resolve the split-brain.</div><div class=""><br class=""></div><div class="">[1]&nbsp;<a href="https://docs.gluster.org/en/v3/Administrator%20Guide/Split%20brain%20and%20ways%20to%20deal%20with%20it/" target="_blank" class="">https://docs.gluster.org/en/v3/Administrator%20Guide/Split%20brain%20and%20ways%20to%20deal%20with%20it/</a></div><div class="">[2]&nbsp;<a href="https://docs.gluster.org/en/latest/Troubleshooting/resolving-splitbrain/" target="_blank" class="">https://docs.gluster.org/en/latest/Troubleshooting/resolving-splitbrain/</a></div><div class="">[3]&nbsp;<a href="https://docs.gluster.org/en/latest/Troubleshooting/resolving-splitbrain/#dir-split-brain" target="_blank" class="">https://docs.gluster.org/en/latest/Troubleshooting/resolving-splitbrain/#dir-split-brain</a></div><div class=""><br class=""></div><div class="">HTH,</div><div class="">Karthik</div></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 1:45 PM Milos Cuculovic &lt;<a href="mailto:cuculovic@mdpi.com" target="_blank" class="">cuculovic@mdpi.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">I was now able to catch the split brain log:<div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">sudo gluster volume heal storage2 info</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage3:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:256ca960-1601-4f0d-9b08-905c6fd52326&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:7a63a729-c48f-4a00-9040-c3e2a0710ae6&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Is in split-brain</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 3</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick storage4:/data/data-cluster</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&lt;gfid:276fec9a-1c9b-4efe-9715-dcf4207e99b0&gt;&nbsp;</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/dms/final_archive - Is in split-brain</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status: Connected</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of entries: 2</span></div><div class=""><br class=""></div><div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Milos</div></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On 21 Mar 2019, at 09:07, Milos Cuculovic &lt;<a href="mailto:cuculovic@mdpi.com" target="_blank" class="">cuculovic@mdpi.com</a>&gt; wrote:</div><br class="gmail-m_8539117702775147956gmail-m_1351967363676197946gmail-m_-1511781683842647198Apple-interchange-newline"><div class=""><div class="">Since 24h, after upgrading from 4.0 to 4.1.7 one of the servers, the heal shows this:<br class=""><br class="">sudo gluster volume heal storage2 info<br class="">Brick storage3:/data/data-cluster<br class="">&lt;gfid:256ca960-1601-4f0d-9b08-905c6fd52326&gt; <br class="">&lt;gfid:7a63a729-c48f-4a00-9040-c3e2a0710ae6&gt; <br class="">/dms/final_archive - Possibly undergoing heal<br class=""><br class="">Status: Connected<br class="">Number of entries: 3<br class=""><br class="">Brick storage4:/data/data-cluster<br class="">&lt;gfid:276fec9a-1c9b-4efe-9715-dcf4207e99b0&gt; <br class="">/dms/final_archive - Possibly undergoing heal<br class=""><br class="">Status: Connected<br class="">Number of entries: 2<br class=""><br class="">The same files stay there. From time to time the status of the /dms/final_archive is in split brain at the following command shows:<br class=""><br class="">sudo gluster volume heal storage2 info split-brain<br class="">Brick storage3:/data/data-cluster<br class="">/dms/final_archive<br class="">Status: Connected<br class="">Number of entries in split-brain: 1<br class=""><br class="">Brick storage4:/data/data-cluster<br class="">/dms/final_archive<br class="">Status: Connected<br class="">Number of entries in split-brain: 1<br class=""><br class="">How to know the file who is in split brain? The files in /dms/final_archive are not very important, fine to remove (ideally resolve the split brain) for the ones that differ.<br class=""><br class="">I can only see the directory and GFID. Any idea on how to resolve this situation as I would like to continue with the upgrade on the 2nd server, and for this the heal needs to be done with 0 entries in sudo gluster volume heal storage2 info<br class=""><br class="">Thank you in advance, Milos.</div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">
Gluster-users mailing list<br class="">
<a href="mailto:Gluster-users@gluster.org" target="_blank" class="">Gluster-users@gluster.org</a><br class="">
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank" class="">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>