<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:12pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Doing splitmount localhost md1 . and ls -l gives me</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">total 8</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">drwxr-xr-x 12 root root  426 Jan 19 11:04 r1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">drwxr-xr-x 12 root root  426 Jan 19 11:04 r2</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-rw-------  1 root root 2840 Mar 12 12:08 tmp7TLytQ</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-rw-------  1 root root 2840 Mar 12 12:08 tmptI3gv_</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Doing ls -l r1/root/bash_cmd/ gives me</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">total 5</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-rwxr-xr-x 1 root root  212 Nov 21 17:50 ira</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-rwxr-xr-x 1 root root 2311 Nov 21 17:50 listing</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">drwxr-xr-x 2 root root   52 Jan 19 11:24 mbl</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-rwxr-xr-x 1 root root 1210 Nov 21 17:50 viewhdf</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">while doing ls -l r1/root/bash_cmd/mbl/ gives me</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">ls: cannot access r1/root/bash_cmd/mbl/mbl.c: Software caused connection abort</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">ls: reading directory r1/root/bash_cmd/mbl/: Transport endpoint is not connected</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">total 0</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">?????????? ? ? ? ?            ? mbl.c</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">A.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday 11 March 2015 07:52:11 Joe Julian wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://joejulian.name/blog/glusterfs-split-brain-recovery-made-easy/"><span style=" text-decoration: underline; color:#006e28;">http://joejulian.name/blog/glusterfs-split-brain-recovery-made-easy/</span></a><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On March 11, 2015 4:24:09 AM PDT, Alessandro Ipe &lt;Alessandro.Ipe@meteo.be&gt; wrote:</p>
<pre style=" margin-top:12px; margin-bottom:12px; margin-left:46px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">Well, it is even worse. Now when doing  a &quot;ls -R&quot; on the volume results in a lot of <br /><br />[2015-03-11 11:18:31.957505] E [afr-self-heal-common.c:233:afr_sh_print_split_brain_log] 0-md1-replicate-2: Unable to self-heal contents of '/library' (possible split-brain). Please delete the file from all but the preferred subvolume.- Pending matrix:  [ [ 0 2 ] [ 1 0 ] ]<br />[2015-03-11 11:18:31.957692] E [afr-self-heal-common.c:2868:afr_log_self_heal_completion_status] 0-md1-replicate-2:  metadata self heal  failed,   on /library<br /><br />I am desperate...<br /><br /><br />A.<br /><br /><br />On Wednesday 11 March 2015 12:05:33 you wrote:<br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:52px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';"> Hi,<br /> <br /> <br /> When trying to access a file on a gluster client (through fuse), I get an<br /> &quot;Input/output error&quot; message.<br /> <br /> Getting the attributes for the file gives me for the first</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:52px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">brick<br /> # file: data/glusterfs/md1/brick1/kvm/hail/hail_home.qcow2<br /> trusted.afr.md1-client-2=0sAAAAAAAAAAAAAAAA<br /> trusted.afr.md1-client-3=0sAAABdAAAAAAAAAAA<br /> trusted.gfid=0sOCFPGCdrQ9uyq2yTTPCKqQ==<br /> <br /> while for the second (replicate) brick<br /> # file: data/glusterfs/md1/brick1/kvm/hail/hail_home.qcow2<br /> trusted.afr.md1-client-2=0sAAABJAAAAAAAAAAA<br /> trusted.afr.md1-client-3=0sAAAAAAAAAAAAAAAA<br /> trusted.gfid=0sOCFPGCdrQ9uyq2yTTPCKqQ==<br /> <br /> It seems that I have a split-brain. How can I solve this issue by resetting<br /> the attributes, please ?<br /> <br /> <br /> Thanks,<br /> <br /> <br /> Alessandro.<br /> <br /> ==================<br /> gluster volume info md1<br /> <br /> Volume Name: md1<br /> Type: Distributed-Replicate<br /> Volume ID: 6da4b915-1def-4df4-a41c-2f3300ebf16b<br /> Status: Started<br /> Number of Bricks: 3 x 2 = 6<br /> Transport-type: tcp<br /> Bricks:<br /> Brick1: tsunami1:/data/glusterfs/md1/brick1<br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:8px; margin-left:52px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">Brick2: tsunami2:/data/glusterfs/md1/brick1<br /> Brick3: tsunami3:/data/glusterfs/md1/brick1<br /> Brick4: tsunami4:/data/glusterfs/md1/brick1<br /> Brick5: tsunami5:/data/glusterfs/md1/brick1<br /> Brick6: tsunami6:/data/glusterfs/md1/brick1<br /> Options Reconfigured:<br /> server.allow-insecure: on<br /> cluster.read-hash-mode: 2<br /> features.quota: off<br /> performance.write-behind: on<br /> performance.write-behind-window-size: 4MB<br /> performance.flush-behind: off<br /> </span><a href="http://performance.io"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#006e28;">performance.io</span></a><span style=" font-family:'Courier New,courier';">-thread-count: 64<br /> performance.cache-size: 512MB<br /> nfs.disable: on<br /> cluster.lookup-unhashed: off<br /></span></pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';"><br /></span></p>
<hr />
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';"><br />Gluster-users mailing list<br />Gluster-users@gluster.org<br /></span><a href="http://www.gluster.org/mailman/listinfo/gluster-users"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#006e28;">http://www.gluster.org/mailman/listinfo/gluster-users</span></a><span style=" font-family:'Courier New,courier';"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />-- <br />Sent from my Android device with K-9 Mail. Please excuse my brevity.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Dr. Ir. Alessandro Ipe   </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Department of Observations             Tel. +32 2 373 06 31</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Remote Sensing from Space              Fax. +32 2 374 67 88  </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Royal Meteorological Institute  </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Avenue Circulaire 3                    Email:  </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> B-1180 Brussels        Belgium         Alessandro.Ipe@meteo.be </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Web: http://gerb.oma.be   </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p></body></html>