<div dir="ltr">Correct!  I have seen(back in the day, its been 3ish years since I have seen it) having say 50+ volumes each with a geo rep session take system load levels to the point where pings couldn&#39;t be serviced within the ping timeout.  So it is known to happen but there has been alot of work in the geo rep space to help here, some of which is discussed:<div><br></div><div><a href="https://medium.com/@msvbhat/distributed-geo-replication-in-glusterfs-ec95f4393c50">https://medium.com/@msvbhat/distributed-geo-replication-in-glusterfs-ec95f4393c50</a></div><div><br></div><div>(think tar + ssh and other fixes)Your symptoms remind me of that case of 50+ geo repd volumes, thats why I mentioned it from the start.  My current shoot from the hip theory is when rsyncing all that data the servers got too busy to service the pings and it lead to disconnects.  This is common across all of the clustering / distributed software I have worked on, if the system gets too busy to service heartbeat within the timeout things go crazy(think fork bomb on a single host).  Now this could be a case of me putting symptoms from an old issue into what you are describing, but thats where my head is at.  If I&#39;m correct I should be able to repro using a similar workload.  I think that the multi threaded epoll changes that _just_ landed in master will help resolve this, but they are so new I haven&#39;t been able to test this.  I&#39;ll know more when I get a chance to test tomorrow.</div><div><br></div><div>-b<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 6:04 PM, David F. Robinson <span dir="ltr">&lt;<a href="mailto:david.robinson@corvidtec.com" target="_blank">david.robinson@corvidtec.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Isn&#39;t rsync what geo-rep uses?<br>
<span class="im"><br>
David  (Sent from mobile)<br>
<br>
===============================<br>
David F. Robinson, Ph.D.<br>
President - Corvid Technologies<br>
<a href="tel:704.799.6944%20x101" value="+17047996944">704.799.6944 x101</a> [office]<br>
<a href="tel:704.252.1310" value="+17042521310">704.252.1310</a>      [cell]<br>
<a href="tel:704.799.7974" value="+17047997974">704.799.7974</a>      [fax]<br>
<a href="mailto:David.Robinson@corvidtec.com">David.Robinson@corvidtec.com</a><br>
<a href="http://www.corvidtechnologies.com" target="_blank">http://www.corvidtechnologies.com</a><br>
<br>
</span><div class=""><div class="h5">&gt; On Feb 5, 2015, at 5:41 PM, Ben Turner &lt;<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt;&gt; From: &quot;Ben Turner&quot; &lt;<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>&gt;<br>
&gt;&gt; To: &quot;David F. Robinson&quot; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;<br>
&gt;&gt; Cc: &quot;Pranith Kumar Karampuri&quot; &lt;<a href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;, &quot;Xavier Hernandez&quot; &lt;<a href="mailto:xhernandez@datalab.es">xhernandez@datalab.es</a>&gt;, &quot;Benjamin Turner&quot;<br>
&gt;&gt; &lt;<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a>&gt;, <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>, &quot;Gluster Devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt;&gt; Sent: Thursday, February 5, 2015 5:22:26 PM<br>
&gt;&gt; Subject: Re: [Gluster-users] [Gluster-devel] missing files<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt; From: &quot;David F. Robinson&quot; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;<br>
&gt;&gt;&gt; To: &quot;Ben Turner&quot; &lt;<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Cc: &quot;Pranith Kumar Karampuri&quot; &lt;<a href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;, &quot;Xavier Hernandez&quot;<br>
&gt;&gt;&gt; &lt;<a href="mailto:xhernandez@datalab.es">xhernandez@datalab.es</a>&gt;, &quot;Benjamin Turner&quot;<br>
&gt;&gt;&gt; &lt;<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a>&gt;, <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>, &quot;Gluster Devel&quot;<br>
&gt;&gt;&gt; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt;&gt;&gt; Sent: Thursday, February 5, 2015 5:01:13 PM<br>
&gt;&gt;&gt; Subject: Re: [Gluster-users] [Gluster-devel] missing files<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ll send you the emails I sent Pranith with the logs. What causes these<br>
&gt;&gt;&gt; disconnects?<br>
&gt;&gt;<br>
&gt;&gt; Thanks David!  Disconnects happen when there are interruption in<br>
&gt;&gt; communication between peers, normally there is ping timeout that happens.<br>
&gt;&gt; It could be anything from a flaky NW to the system was to busy to respond<br>
&gt;&gt; to the pings.  My initial take is more towards the ladder as rsync is<br>
&gt;&gt; absolutely the worst use case for gluster - IIRC it writes in 4kb blocks.  I<br>
&gt;&gt; try to keep my writes at least 64KB as in my testing that is the smallest<br>
&gt;&gt; block size I can write with before perf starts to really drop off.  I&#39;ll try<br>
&gt;&gt; something similar in the lab.<br>
&gt;<br>
&gt; Ok I do think that the file being self healed is RCA for what you were seeing.  Lets look at one of the disconnects:<br>
&gt;<br>
&gt; data-brick02a-homegfs.log:[2015-02-03 20:54:02.772180] I [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting connection from gfs01b.corvidtec.com-4175-2015/02/02-16:44:31:179119-homegfs-client-2-0-1<br>
&gt;<br>
&gt; And in the glustershd.log from the gfs01b_glustershd.log file:<br>
&gt;<br>
&gt; [2015-02-03 20:55:48.001797] I [afr-self-heal-entry.c:554:afr_selfheal_entry_do] 0-homegfs-replicate-0: performing entry selfheal on 6c79a368-edaa-432b-bef9-ec690ab42448<br>
&gt; [2015-02-03 20:55:49.341996] I [afr-self-heal-common.c:476:afr_log_selfheal] 0-homegfs-replicate-0: Completed entry selfheal on 6c79a368-edaa-432b-bef9-ec690ab42448. source=1 sinks=0<br>
&gt; [2015-02-03 20:55:49.343093] I [afr-self-heal-entry.c:554:afr_selfheal_entry_do] 0-homegfs-replicate-0: performing entry selfheal on 792cb0d6-9290-4447-8cd7-2b2d7a116a69<br>
&gt; [2015-02-03 20:55:50.463652] I [afr-self-heal-common.c:476:afr_log_selfheal] 0-homegfs-replicate-0: Completed entry selfheal on 792cb0d6-9290-4447-8cd7-2b2d7a116a69. source=1 sinks=0<br>
&gt; [2015-02-03 20:55:51.465289] I [afr-self-heal-metadata.c:54:__afr_selfheal_metadata_do] 0-homegfs-replicate-0: performing metadata selfheal on 403e661a-1c27-4e79-9867-c0572aba2b3c<br>
&gt; [2015-02-03 20:55:51.466515] I [afr-self-heal-common.c:476:afr_log_selfheal] 0-homegfs-replicate-0: Completed metadata selfheal on 403e661a-1c27-4e79-9867-c0572aba2b3c. source=1 sinks=0<br>
&gt; [2015-02-03 20:55:51.467098] I [afr-self-heal-entry.c:554:afr_selfheal_entry_do] 0-homegfs-replicate-0: performing entry selfheal on 403e661a-1c27-4e79-9867-c0572aba2b3c<br>
&gt; [2015-02-03 20:55:55.257808] I [afr-self-heal-common.c:476:afr_log_selfheal] 0-homegfs-replicate-0: Completed entry selfheal on 403e661a-1c27-4e79-9867-c0572aba2b3c. source=1 sinks=0<br>
&gt; [2015-02-03 20:55:55.258548] I [afr-self-heal-metadata.c:54:__afr_selfheal_metadata_do] 0-homegfs-replicate-0: performing metadata selfheal on c612ee2f-2fb4-4157-a9ab-5a2d5603c541<br>
&gt; [2015-02-03 20:55:55.259367] I [afr-self-heal-common.c:476:afr_log_selfheal] 0-homegfs-replicate-0: Completed metadata selfheal on c612ee2f-2fb4-4157-a9ab-5a2d5603c541. source=1 sinks=0<br>
&gt; [2015-02-03 20:55:55.259980] I [afr-self-heal-entry.c:554:afr_selfheal_entry_do] 0-homegfs-replicate-0: performing entry selfheal on c612ee2f-2fb4-4157-a9ab-5a2d5603c541<br>
&gt;<br>
&gt; As you can see the self heal logs are just spammed with files being healed, and I looked at a couple of disconnects and I see self heals getting run shortly after on the bricks that were down.  Now we need to find the cause of the disconnects, I am thinking once the disconnects are resolved the files should be properly copied over without SH having to fix things.  Like I said I&#39;ll give this a go on my lab systems and see if I can repro the disconnects, I&#39;ll have time to run through it tomorrow.  If in the mean time anyone else has a theory / anything to add here it would be appreciated.<br>
&gt;<br>
&gt; -b<br>
&gt;<br>
&gt;&gt; -b<br>
&gt;&gt;<br>
&gt;&gt;&gt; David  (Sent from mobile)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ===============================<br>
&gt;&gt;&gt; David F. Robinson, Ph.D.<br>
&gt;&gt;&gt; President - Corvid Technologies<br>
&gt;&gt;&gt; 704.799.6944 x101 [office]<br>
&gt;&gt;&gt; 704.252.1310      [cell]<br>
&gt;&gt;&gt; 704.799.7974      [fax]<br>
&gt;&gt;&gt; <a href="mailto:David.Robinson@corvidtec.com">David.Robinson@corvidtec.com</a><br>
&gt;&gt;&gt; <a href="http://www.corvidtechnologies.com" target="_blank">http://www.corvidtechnologies.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Feb 5, 2015, at 4:55 PM, Ben Turner &lt;<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt; From: &quot;Pranith Kumar Karampuri&quot; &lt;<a href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; To: &quot;Xavier Hernandez&quot; &lt;<a href="mailto:xhernandez@datalab.es">xhernandez@datalab.es</a>&gt;, &quot;David F. Robinson&quot;<br>
&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;, &quot;Benjamin Turner&quot;<br>
&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>, &quot;Gluster Devel&quot;<br>
&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Sent: Thursday, February 5, 2015 5:30:04 AM<br>
&gt;&gt;&gt;&gt;&gt; Subject: Re: [Gluster-users] [Gluster-devel] missing files<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 02/05/2015 03:48 PM, Pranith Kumar Karampuri wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; I believe David already fixed this. I hope this is the same issue he<br>
&gt;&gt;&gt;&gt;&gt;&gt; told about permissions issue.<br>
&gt;&gt;&gt;&gt;&gt; Oops, it is not. I will take a look.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Yes David exactly like these:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; data-brick02a-homegfs.log:[2015-02-03 19:09:34.568842] I<br>
&gt;&gt;&gt;&gt; [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting<br>
&gt;&gt;&gt;&gt; connection from<br>
&gt;&gt;&gt;&gt; gfs02a.corvidtec.com-18563-2015/02/03-19:07:58:519134-homegfs-client-2-0-0<br>
&gt;&gt;&gt;&gt; data-brick02a-homegfs.log:[2015-02-03 19:09:41.286551] I<br>
&gt;&gt;&gt;&gt; [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting<br>
&gt;&gt;&gt;&gt; connection from<br>
&gt;&gt;&gt;&gt; gfs01a.corvidtec.com-12804-2015/02/03-19:09:38:497808-homegfs-client-2-0-0<br>
&gt;&gt;&gt;&gt; data-brick02a-homegfs.log:[2015-02-03 19:16:35.906412] I<br>
&gt;&gt;&gt;&gt; [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting<br>
&gt;&gt;&gt;&gt; connection from<br>
&gt;&gt;&gt;&gt; gfs02b.corvidtec.com-27190-2015/02/03-19:15:53:458467-homegfs-client-2-0-0<br>
&gt;&gt;&gt;&gt; data-brick02a-homegfs.log:[2015-02-03 19:51:22.761293] I<br>
&gt;&gt;&gt;&gt; [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting<br>
&gt;&gt;&gt;&gt; connection from<br>
&gt;&gt;&gt;&gt; gfs01a.corvidtec.com-25926-2015/02/03-19:51:02:89070-homegfs-client-2-0-0<br>
&gt;&gt;&gt;&gt; data-brick02a-homegfs.log:[2015-02-03 20:54:02.772180] I<br>
&gt;&gt;&gt;&gt; [server.c:518:server_rpc_notify] 0-homegfs-server: disconnecting<br>
&gt;&gt;&gt;&gt; connection from<br>
&gt;&gt;&gt;&gt; gfs01b.corvidtec.com-4175-2015/02/02-16:44:31:179119-homegfs-client-2-0-1<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; You can 100% verify my theory if you can correlate the time on the<br>
&gt;&gt;&gt;&gt; disconnects to the time that the missing files were healed.  Can you have<br>
&gt;&gt;&gt;&gt; a look at /var/log/glusterfs/glustershd.log?  That has all of the healed<br>
&gt;&gt;&gt;&gt; files + timestamps, if we can see a disconnect during the rsync and a<br>
&gt;&gt;&gt;&gt; self<br>
&gt;&gt;&gt;&gt; heal of the missing file I think we can safely assume that the<br>
&gt;&gt;&gt;&gt; disconnects<br>
&gt;&gt;&gt;&gt; may have caused this.  I&#39;ll try this on my test systems, how much data<br>
&gt;&gt;&gt;&gt; did<br>
&gt;&gt;&gt;&gt; you rsync?  What size ish of files / an idea of the dir layout?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; @Pranith - Could bricks flapping up and down during the rsync cause the<br>
&gt;&gt;&gt;&gt; files to be missing on the first ls(written to 1 subvol but not the other<br>
&gt;&gt;&gt;&gt; cause it was down), the ls triggered SH, and thats why the files were<br>
&gt;&gt;&gt;&gt; there for the second ls be a possible cause here?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; -b<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Pranith<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Pranith<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 02/05/2015 03:44 PM, Xavier Hernandez wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is the failure repeatable ? with the same directories ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; It&#39;s very weird that the directories appear on the volume when you do<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; an &#39;ls&#39; on the bricks. Could it be that you only made a single &#39;ls&#39;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; on fuse mount which not showed the directory ? Is it possible that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; this &#39;ls&#39; triggered a self-heal that repaired the problem, whatever<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; it was, and when you did another &#39;ls&#39; on the fuse mount after the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &#39;ls&#39; on the bricks, the directories were there ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; The first &#39;ls&#39; could have healed the files, causing that the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; following &#39;ls&#39; on the bricks showed the files as if nothing were<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; damaged. If that&#39;s the case, it&#39;s possible that there were some<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; disconnections during the copy.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Added Pranith because he knows better replication and self-heal<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; details.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Xavi<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 02/04/2015 07:23 PM, David F. Robinson wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Distributed/replicated<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Volume Name: homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Type: Distributed-Replicate<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Volume ID: 1e32672a-f1b7-4b58-ba94-58c085e59071<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Status: Started<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Number of Bricks: 4 x 2 = 8<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Transport-type: tcp<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Bricks:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick1: gfsib01a.corvidtec.com:/data/brick01a/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick2: gfsib01b.corvidtec.com:/data/brick01b/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick3: gfsib01a.corvidtec.com:/data/brick02a/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick4: gfsib01b.corvidtec.com:/data/brick02b/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick5: gfsib02a.corvidtec.com:/data/brick01a/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick6: gfsib02b.corvidtec.com:/data/brick01b/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick7: gfsib02a.corvidtec.com:/data/brick02a/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Brick8: gfsib02b.corvidtec.com:/data/brick02b/homegfs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Options Reconfigured:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; performance.io-thread-count: 32<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; performance.cache-size: 128MB<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; performance.write-behind-window-size: 128MB<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server.allow-insecure: on<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; network.ping-timeout: 10<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; storage.owner-gid: 100<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; geo-replication.indexing: off<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; geo-replication.ignore-pid-check: on<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; changelog.changelog: on<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; changelog.fsync-interval: 3<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; changelog.rollover-time: 15<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server.manage-gids: on<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Xavier Hernandez&quot; &lt;<a href="mailto:xhernandez@datalab.es">xhernandez@datalab.es</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;David F. Robinson&quot; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;; &quot;Benjamin<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Turner&quot; &lt;<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cc: &quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;; &quot;Gluster<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: 2/4/2015 6:03:45 AM<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [Gluster-devel] missing files<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 02/04/2015 01:30 AM, David F. Robinson wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sorry. Thought about this a little more. I should have been<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; clearer.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The files were on both bricks of the replica, not just one side.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; So,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; both bricks had to have been up... The files/directories just<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; don&#39;t show<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; up on the mount.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I was reading and saw a related bug<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1159484" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1159484</a>). I saw it<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; suggested to run:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        find &lt;mount&gt; -d -exec getfattr -h -n trusted.ec.heal {} \;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; This command is specific for a dispersed volume. It won&#39;t do<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; anything<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (aside from the error you are seeing) on a replicated volume.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think you are using a replicated volume, right ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In this case I&#39;m not sure what can be happening. Is your volume a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; pure<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; replicated one or a distributed-replicated ? on a pure replicated it<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; doesn&#39;t make sense that some entries do not show in an &#39;ls&#39; when the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file is in both replicas (at least without any error message in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; logs). On a distributed-replicated it could be caused by some<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; problem<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; while combining contents of each replica set.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; What&#39;s the configuration of your volume ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Xavi<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I get a bunch of errors for operation not supported:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [root@gfs02a homegfs]# find wks_backup -d -exec getfattr -h -n<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trusted.ec.heal {} \;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; find: warning: the -d option is deprecated; please use -depth<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; instead,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; because the latter is a POSIX-compliant feature.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/backup: trusted.ec.heal: Operation not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs/2014_05_20.log: trusted.ec.heal:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Operation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs/2014_05_21.log: trusted.ec.heal:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Operation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs/2014_05_18.log: trusted.ec.heal:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Operation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs/2014_05_19.log: trusted.ec.heal:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Operation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs/2014_05_22.log: trusted.ec.heal:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Operation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup/logs: trusted.ec.heal: Operation not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wks_backup/homer_backup: trusted.ec.heal: Operation not supported<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Benjamin Turner&quot; &lt;<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:bennyturns@gmail.com">bennyturns@gmail.com</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;David F. Robinson&quot; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cc: &quot;Gluster Devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;&gt;; &quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: 2/3/2015 7:12:34 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [Gluster-devel] missing files<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; It sounds to me like the files were only copied to one replica,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; werent<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; there for the initial for the initial ls which triggered a self<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; heal,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; and were there for the last ls because they were healed. Is there<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; any<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; chance that one of the replicas was down during the rsync? It<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; could<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; be that you lost a brick during copy or something like that. To<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; confirm I would look for disconnects in the brick logs as well as<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; checking glusterfshd.log to verify the missing files were actually<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; healed.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -b<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Feb 3, 2015 at 5:37 PM, David F. Robinson<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:david.robinson@corvidtec.com">david.robinson@corvidtec.com</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   I rsync&#39;d 20-TB over to my gluster system and noticed that I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   had<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   some directories missing even though the rsync completed<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; normally.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   The rsync logs showed that the missing files were transferred.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   I went to the bricks and did an &#39;ls -al<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   /data/brick*/homegfs/dir/*&#39; the files were on the bricks.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; After I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   did this &#39;ls&#39;, the files then showed up on the FUSE mounts.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   1) Why are the files hidden on the fuse mount?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   2) Why does the ls make them show up on the FUSE mount?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   3) How can I prevent this from happening again?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   Note, I also mounted the gluster volume using NFS and saw the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; same<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   behavior. The files/directories were not shown until I did the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   &quot;ls&quot; on the bricks.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   David<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   ===============================<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   David F. Robinson, Ph.D.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   President - Corvid Technologies<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="tel:704.799.6944%20x101" value="+17047996944">704.799.6944 x101</a> &lt;tel:704.799.6944%20x101&gt; [office]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="tel:704.252.1310" value="+17042521310">704.252.1310</a> &lt;tel:<a href="tel:704.252.1310" value="+17042521310">704.252.1310</a>&gt; [cell]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="tel:704.799.7974" value="+17047997974">704.799.7974</a> &lt;tel:<a href="tel:704.799.7974" value="+17047997974">704.799.7974</a>&gt; [fax]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="mailto:David.Robinson@corvidtec.com">David.Robinson@corvidtec.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:David.Robinson@corvidtec.com">David.Robinson@corvidtec.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="http://www.corvidtechnologies.com" target="_blank">http://www.corvidtechnologies.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="http://www.corvidtechnologies.com/" target="_blank">http://www.corvidtechnologies.com/</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   Gluster-devel mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gluster-devel mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; Gluster-users mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; Gluster-users mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div></div></div>