<br><br><div class="gmail_quote">On Fri, Feb 19, 2010 at 6:40 PM, Dan Burkland <span dir="ltr"><<a href="mailto:dburklan@nmdp.org">dburklan@nmdp.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="blue" lang="EN-US">

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">NFSv4 support is already compiled into the
CentOS kernel so no extra installation is necessary. To force NFSv4 on the
server set the following options in /etc/sysconfig/nfs:</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">a) MOUNTD_NFS_V2=”no”</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">b) MOUNTD_NFS_V3=”no”</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">c) RPCNFSDARGS=”-N 2 –N 3”</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p><font color="#888888">

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Dan</span></font></p>

</div>

</font></div>

</div>


<br>_______________________________________________<br>
<br></blockquote><div><br>Thanx Dan, <br><br>I have done that, but it seems that either these settings don't work on CentOS5.4, or I'm doing something wrong. <br><br>root@mars:[~]$ mount.nfs4  master1.mydomain.co.za:/ /bck<br>

mount.nfs4: Protocol not supported<br><br><br>I did some google search on this, and apparently I need to change some settings in /etc/init.d/nfs on like 97, but my /etc/init.d/nfs looks different from those in the search results. So, I guess the search results are related to older versions?<br>

<br>Here's a snippet from a google search:<br><br><pre style="margin: 0em;">edit your "/etc/init.d/nfs" file as follows:<br><br>Comment out line 97 and add the following line (which removes the -N 4.1)<br><br>

        echo -n $"Starting NFS daemon: "<br>        # For now, turn off the nfs41 support<br>#       daemon rpc.nfsd -N 4.1 $RPCNFSDARGS $RPCNFSDCOUNT<br>        daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT<br><br>

Then, restart your NFS server (service nfs restart)<br><br>It should then work (mine does)<br></pre><br><br><br>This one site (<a href="http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html">http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html</a>) though had a walkthrough, but I still don't get it to work. <br>

<br>Any suggestions?<br> <br></div></div><br clear="all"><br>-- <br>Kind Regards<br>Rudi Ahlers<br>SoftDux<br><br>Website: <a href="http://www.SoftDux.com">http://www.SoftDux.com</a><br>Technical Blog: <a href="http://Blog.SoftDux.com">http://Blog.SoftDux.com</a><br>

Office: 087 805 9573<br>Cell: 082 554 7532<br>