<div><br></div><div>I *think* I&#39;ve seen this, and that we then had open TCP connection from client to NFS server according to netstat, but these connections were not visible from netstat on NFS-server side.</div><div><br></div><div>Unfortunately I don&#39;t remember what the fix was..</div><div><br></div><div><br></div><div><br></div><div>  -jf</div><div><br><div class="gmail_quote"><div>tir. 25. apr. 2017 kl. 16.06 skrev Simon Thompson (IT Research Support) &lt;<a href="mailto:S.J.Thompson@bham.ac.uk">S.J.Thompson@bham.ac.uk</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
>From what I can see, Ganesha uses the Export_Id option in the config file<br>
(which is managed by CES) for this. I did find some reference in the<br>
Ganesha devs list that if its not set, then it would read the FSID from<br>
the GPFS file-system, either way they should surely be consistent across<br>
all the nodes. The posts I found were from someone with an IBM email<br>
address, so I guess someone in the IBM teams.<br>
<br>
I checked a couple of my protocol nodes and they use the same Export_Id<br>
consistently, though I guess that might not be the same as the FSID value.<br>
<br>
Perhaps someone from IBM could comment on if FSID is likely to the cause<br>
of my problems?<br>
<br>
Thanks<br>
<br>
Simon<br>
<br>
On 25/04/2017, 14:51, &quot;<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a> on behalf<br>
of Ouwehand, JJ&quot; &lt;<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a> on behalf of<br>
<a href="mailto:j.ouwehand@vumc.nl" target="_blank">j.ouwehand@vumc.nl</a>&gt; wrote:<br>
<br>
&gt;Hello,<br>
&gt;<br>
&gt;At first a short introduction. My name is Jaap Jan Ouwehand, I work at a<br>
&gt;Dutch hospital &quot;VU Medical Center&quot; in Amsterdam. We make daily use of IBM<br>
&gt;Spectrum Scale, Spectrum Archive and Spectrum Protect in our critical<br>
&gt;(office, research and clinical data) business process. We have three<br>
&gt;large GPFS filesystems for different purposes.<br>
&gt;<br>
&gt;We also had such a situation with cNFS. A failover (IPtakeover) was<br>
&gt;technically good, only clients experienced &quot;stale filehandles&quot;. We opened<br>
&gt;a PMR at IBM and after testing, deliver logs, tcpdumps and a few months<br>
&gt;later, the solution appeared to be in the fsid option.<br>
&gt;<br>
&gt;An NFS filehandle is built by a combination of fsid and a hash function<br>
&gt;on the inode. After a failover, the fsid value can be different and the<br>
&gt;client has a &quot;stale filehandle&quot;. To avoid this, the fsid value can be<br>
&gt;statically specified. See:<br>
&gt;<br>
&gt;<a href="https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.2/com.ibm.spectrum" rel="noreferrer" target="_blank">https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.2/com.ibm.spectrum</a>.<br>
&gt;scale.v4r22.doc/bl1adm_nfslin.htm<br>
&gt;<br>
&gt;Maybe there is also a value in Ganesha that changes after a failover.<br>
&gt;Certainly since most sessions will be re-established after a failback.<br>
&gt;Maybe you see more debug information with tcpdump.<br>
&gt;<br>
&gt;<br>
&gt;Kind regards,<br>
&gt;<br>
&gt;Jaap Jan Ouwehand<br>
&gt;ICT Specialist (Storage &amp; Linux)<br>
&gt;VUmc - ICT<br>
&gt;E: <a href="mailto:jj.ouwehand@vumc.nl" target="_blank">jj.ouwehand@vumc.nl</a><br>
&gt;W: <a href="http://www.vumc.com" rel="noreferrer" target="_blank">www.vumc.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;-----Oorspronkelijk bericht-----<br>
&gt;Van: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br>
&gt;[mailto:<a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a>] Namens Simon Thompson<br>
&gt;(IT Research Support)<br>
&gt;Verzonden: dinsdag 25 april 2017 13:21<br>
&gt;Aan: <a href="mailto:gpfsug-discuss@spectrumscale.org" target="_blank">gpfsug-discuss@spectrumscale.org</a><br>
&gt;Onderwerp: [gpfsug-discuss] NFS issues<br>
&gt;<br>
&gt;Hi,<br>
&gt;<br>
&gt;We have recently started deploying NFS in addition our existing SMB<br>
&gt;exports on our protocol nodes.<br>
&gt;<br>
&gt;We use a RR DNS name that points to 4 VIPs for SMB services and failover<br>
&gt;seems to work fine with SMB clients. We figured we could use the same<br>
&gt;name and IPs and run Ganesha on the protocol servers, however we are<br>
&gt;seeing issues with NFS clients when IP failover occurs.<br>
&gt;<br>
&gt;In normal operation on a client, we might see several mounts from<br>
&gt;different IPs obviously due to the way the DNS RR is working, but it all<br>
&gt;works fine.<br>
&gt;<br>
&gt;In a failover situation, the IP will move to another node and some<br>
&gt;clients will carry on, others will hang IO to the mount points referred<br>
&gt;to by the IP which has moved. We can *sometimes* trigger this by manually<br>
&gt;suspending a CES node, but not always and some clients mounting from the<br>
&gt;IP moving will be fine, others won&#39;t.<br>
&gt;<br>
&gt;If we resume a node an it fails back, the clients that are hanging will<br>
&gt;usually recover fine. We can reboot a client prior to failback and it<br>
&gt;will be fine, stopping and starting the ganesha service on a protocol<br>
&gt;node will also sometimes resolve the issues.<br>
&gt;<br>
&gt;So, has anyone seen this sort of issue and any suggestions for how we<br>
&gt;could either debug more or workaround?<br>
&gt;<br>
&gt;We are currently running the packages<br>
&gt;nfs-ganesha-2.3.2-0.ibm32_1.el7.x86_64 (4.2.2-2 release ones).<br>
&gt;<br>
&gt;At one point we were seeing it a lot, and could track it back to an<br>
&gt;underlying GPFS network issue that was causing protocol nodes to be<br>
&gt;expelled occasionally, we resolved that and the issues became less<br>
&gt;apparent, but maybe we just fixed one failure mode so see it less often.<br>
&gt;<br>
&gt;On the clients, we use -o sync,hard BTW as in the IBM docs.<br>
&gt;<br>
&gt;On a client showing the issues, we&#39;ll see in dmesg, NFS related messages<br>
&gt;like:<br>
&gt;[Wed Apr 12 16:59:53 2017] nfs: server <a href="http://MYNFSSERVER.bham.ac.uk" rel="noreferrer" target="_blank">MYNFSSERVER.bham.ac.uk</a> not<br>
&gt;responding, timed out<br>
&gt;<br>
&gt;Which explains the client hang on certain mount points.<br>
&gt;<br>
&gt;The symptoms feel very much like those logged in this Gluster/ganesha bug:<br>
&gt;<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1354439" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1354439</a><br>
&gt;<br>
&gt;<br>
&gt;Thanks<br>
&gt;<br>
&gt;Simon<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>
&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>
<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></div>