<html><head></head><body>Does your repaired server have the correct uuid  /var/lib/glusterd/<a href="http://glusterd.info">glusterd.info</a>?<br><br><div class="gmail_quote">On February 16, 2017 9:49:56 PM PST, Scott Hazelhurst &lt;Scott.Hazelhurst@wits.ac.za&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br />Dear all<br /><br />Last week I posted a query about a problem I had with a machine that had failed but the underlying hard disk with the gluster brick was good. I&rsquo;ve made some progress in restoring. I now have the problem with my new restored machine where it becomes its own peer, which then breaks everything.<br /><br />1. Gluster daemons are off on all peers, content of /var/lib/glusterd/peers looks good.<br />2. I start the gluster daemons on all peers. All looks good.<br />3. For about 2 minutes, there&rsquo;s no obvious problem &mdash; if I do a gluster peer status on any machine it looks good, if I do a gluster volume status A01 on any machine it looks good.<br />4. Then at some point, the /var/lib/glusterd/peers file of the new, restored machine gets an entry for itself and things start breaking. A typical error message is the understandable <br /><br />: Unable to get lock for uuid: 4fb930f7-554e-462a-9204-4592591feeb8, lock held by: 4fb930f7-554e-462a-9204-4592591feeb8 <br /><br />5. This is repeatable &mdash; if I stop daemons, remove the offending entry in /var/lib/glusterd/peer, and restart, the same behavior occurs &mdash; all good for a minute or two and then something magically puts something in /var/lib/glusterd/peers<br /><br />In a previous step in restoring my machine, I had a different error of mismatching cksums and what I did then may be the cause of the problem.  In searching the list archives I found someone with a similar cksum problem, and the proposed solution was to copy the /var/lib/glusterd/vols/ from another of the peers to the new machine. This may not be the issue but this is the only thing I think I did that was unconventional.<br /><br />I am running version 3.7.5-19 on Scientific Linux 6.8<br /><br />If anyone can suggest a way forward I would be grateful<br /><br />Many thanks<br /><br />Scott<br /><br /><br />&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;width:100%;&quot;&gt; <br />&lt;tr&gt;<br />&lt;td align=&quot;left&quot; style=&quot;text-align:justify;&quot;&gt;&lt;font face=&quot;arial,sans-serif&quot; size=&quot;1&quot; color=&quot;#999999&quot;&gt;&lt;span style=&quot;font-size:11px;&quot;&gt;This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. &lt;/span&gt;&lt;/font&gt;&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;/table<br /><hr /><br />Gluster-users mailing list<br />Gluster-users@gluster.org<br /><a href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>