<div dir="ltr">ok, i think i understand now, the data was already corrupted. the config change i proposed only prevents a potentially known future on the wire corruption, this will not fix something that made it to the disk already. <div><br></div><div>Sven</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 2, 2017 at 11:53 AM Stijn De Weirdt &lt;<a href="mailto:stijn.deweirdt@ugent.be">stijn.deweirdt@ugent.be</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes ;)<br>
<br>
the system is in preproduction, so nothing that can&#39;t stopped/started in<br>
a few minutes (current setup has only 4 nsds, and no clients).<br>
mmfsck triggers the errors very early during inode replica compare.<br>
<br>
<br>
stijn<br>
<br>
On 08/02/2017 08:47 PM, Sven Oehme wrote:<br>
&gt; How can you reproduce this so quick ?<br>
&gt; Did you restart all daemons after that ?<br>
&gt;<br>
&gt; On Wed, Aug 2, 2017, 11:43 AM Stijn De Weirdt &lt;<a href="mailto:stijn.deweirdt@ugent.be" target="_blank">stijn.deweirdt@ugent.be</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;&gt; hi sven,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; the very first thing you should check is if you have this setting set :<br>
&gt;&gt; maybe the very first thing to check should be the faq/wiki that has this<br>
&gt;&gt; documented?<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; mmlsconfig envVar<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; envVar MLX4_POST_SEND_PREFER_BF 0 MLX4_USE_MUTEX 1 MLX5_SHUT_UP_BF 1<br>
&gt;&gt;&gt; MLX5_USE_MUTEX 1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; if that doesn&#39;t come back the way above you need to set it :<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; mmchconfig envVar=&quot;MLX4_POST_SEND_PREFER_BF=0 MLX5_SHUT_UP_BF=1<br>
&gt;&gt;&gt; MLX5_USE_MUTEX=1 MLX4_USE_MUTEX=1&quot;<br>
&gt;&gt; i just set this (wasn&#39;t set before), but problem is still present.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; there was a problem in the Mellanox FW in various versions that was never<br>
&gt;&gt;&gt; completely addressed (bugs where found and fixed, but it was never fully<br>
&gt;&gt;&gt; proven to be addressed) the above environment variables turn code on in<br>
&gt;&gt; the<br>
&gt;&gt;&gt; mellanox driver that prevents this potential code path from being used to<br>
&gt;&gt;&gt; begin with.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; in Spectrum Scale 4.2.4 (not yet released) we added a workaround in Scale<br>
&gt;&gt;&gt; that even you don&#39;t set this variables the problem can&#39;t happen anymore<br>
&gt;&gt;&gt; until then the only choice you have is the envVar above (which btw ships<br>
&gt;&gt; as<br>
&gt;&gt;&gt; default on all ESS systems).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; you also should be on the latest available Mellanox FW &amp; Drivers as not<br>
&gt;&gt; all<br>
&gt;&gt;&gt; versions even have the code that is activated by the environment<br>
&gt;&gt; variables<br>
&gt;&gt;&gt; above, i think at a minimum you need to be at 3.4 but i don&#39;t remember<br>
&gt;&gt; the<br>
&gt;&gt;&gt; exact version. There had been multiple defects opened around this area,<br>
&gt;&gt; the<br>
&gt;&gt;&gt; last one i remember was  :<br>
&gt;&gt; we run mlnx ofed 4.1, fw is not the latest, but we have edr cards from<br>
&gt;&gt; dell, and the fw is a bit behind. i&#39;m trying to convince dell to make<br>
&gt;&gt; new one. mellanox used to allow to make your own, but they don&#39;t anymore.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 00154843 : ESS ConnectX-3 performance issue - spinning on<br>
&gt;&gt; pthread_spin_lock<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; you may ask your mellanox representative if they can get you access to<br>
&gt;&gt; this<br>
&gt;&gt;&gt; defect. while it was found on ESS , means on PPC64 and with ConnectX-3<br>
&gt;&gt;&gt; cards its a general issue that affects all cards and on intel as well as<br>
&gt;&gt;&gt; Power.<br>
&gt;&gt; ok, thanks for this. maybe such a reference is enough for dell to update<br>
&gt;&gt; their firmware.<br>
&gt;&gt;<br>
&gt;&gt; stijn<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Aug 2, 2017 at 8:58 AM Stijn De Weirdt &lt;<a href="mailto:stijn.deweirdt@ugent.be" target="_blank">stijn.deweirdt@ugent.be</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; hi all,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; is there any documentation wrt data integrity in spectrum scale:<br>
&gt;&gt;&gt;&gt; assuming a crappy network, does gpfs garantee somehow that data written<br>
&gt;&gt;&gt;&gt; by client ends up safe in the nsd gpfs daemon; and similarly from the<br>
&gt;&gt;&gt;&gt; nsd gpfs daemon to disk.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; and wrt crappy network, what about rdma on crappy network? is it the<br>
&gt;&gt; same?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; (we are hunting down a crappy infiniband issue; ibm support says it&#39;s<br>
&gt;&gt;&gt;&gt; network issue; and we see no errors anywhere...)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; thanks a lot,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; stijn<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; gpfsug-discuss mailing list<br>
&gt;&gt;&gt;&gt; gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; gpfsug-discuss mailing list<br>
&gt;&gt;&gt; gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
&gt;&gt;&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gpfsug-discuss mailing list<br>
&gt;&gt; gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
&gt;&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gpfsug-discuss mailing list<br>
&gt; gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
&gt;<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
</blockquote></div>