Hi Justin,<div><br></div><div>thanks for the fast response and the great work. I thought about taking a crack at a fix myself, but Im not familiar with the codebase and don&#39;t have very little time right now.</div><div>

<br></div><div>thanks</div><div>Paul<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 21:33, Justin Riley <span dir="ltr">&lt;<a href="mailto:jtriley@mit.edu">jtriley@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Paul,<br>
<br>
I just tested for myself and I can confirm that /etc/exports is indeed<br>
being clobbered when running the &#39;addnode&#39; command. I&#39;m working on a<br>
patch release to fix this and other minor things. Should be out tomorrow.<br>
<br>
Thanks for reporting!<br>
<br>
~Justin<br>
<div><div class="h5"><br>
On 01/18/2012 02:08 PM, Paul Koerbitz wrote:<br>
&gt; Dear starcluster team,<br>
&gt;<br>
&gt; I tripped over what might be an error with the NFS setup when<br>
&gt; adding new nodes to a cluster.<br>
&gt;<br>
&gt; I set up my cluster with initially one root node only and then<br>
&gt; first added one node and subsequently 4 more nodes. I noticed that<br>
&gt; my ebsvolume wasn&#39;t getting mounted correctly on the nodes, calling<br>
&gt; &#39;df&#39; reported &#39;stale filehandle&#39; for /home /opt/sge6 and /data<br>
&gt;<br>
&gt; My impression is that as nodes get added, the /etc/exports file<br>
&gt; which is responsible for allowing NFS access gets overwritten.<br>
&gt; Therefore only the last added node can access the shared file<br>
&gt; systems.<br>
&gt;<br>
&gt; Here is how I resloved the issue. First I unmounted all the<br>
&gt; volumes:<br>
&gt;<br>
&gt; root@node001:~# umount -f /data<br>
&gt;<br>
&gt; At this point remounting doesn&#39;t work:<br>
&gt;<br>
&gt; root@node001:~# mount -t nfs master:/data /data<br>
&gt;<br>
&gt; mount.nfs: access denied by server while mounting master:/data<br>
&gt;<br>
&gt;<br>
&gt; I then edited /etc/exports on the master node. Here only the last<br>
&gt; node was listed:<br>
&gt;<br>
&gt; /home node005(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node005(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node005(async,no_root_squash,no_subtree_check,rw)<br>
&gt;<br>
&gt; I changed this to /home<br>
&gt; node001(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node001(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node001(async,no_root_squash,no_subtree_check,rw) /home<br>
&gt; node002(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node002(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node002(async,no_root_squash,no_subtree_check,rw) /home<br>
&gt; node003(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node003(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node003(async,no_root_squash,no_subtree_check,rw) /home<br>
&gt; node004(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node004(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node004(async,no_root_squash,no_subtree_check,rw) /home<br>
&gt; node005(async,no_root_squash,no_subtree_check,rw) /opt/sge6<br>
&gt; node005(async,no_root_squash,no_subtree_check,rw) /data<br>
&gt; node005(async,no_root_squash,no_subtree_check,rw)<br>
&gt;<br>
&gt; then restart the nfs-server:<br>
&gt;<br>
&gt; $ /etc/init.d/nfs-kernel-server restart<br>
&gt;<br>
&gt; After that running &#39;df&#39; on each node showed the nfs now working<br>
&gt; correctly.<br>
&gt;<br>
&gt; kind regards Paul<br>
&gt;<br>
&gt;<br>
</div></div>&gt; This body part will be downloaded on demand.<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.17 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk8XLJUACgkQ4llAkMfDcrkc3wCgi+vGwbv7fJDYmf3UBLuJp9QP<br>
06MAn2QNOt+EFuTwnaiCyemhttM6oTdo<br>
=jNrz<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>