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:
a) MOUNTD_NFS_V2=”no”
b) MOUNTD_NFS_V3=”no”
c) RPCNFSDARGS=”-N 2 –N 3”
Dan
_______________________________________________
edit your "/etc/init.d/nfs" file as follows:
Comment out line 97 and add the following line (which removes the -N 4.1)
echo -n $"Starting NFS daemon: "
# For now, turn off the nfs41 support
# daemon rpc.nfsd -N 4.1 $RPCNFSDARGS $RPCNFSDCOUNT
daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT
Then, restart your NFS server (service nfs restart)
It should then work (mine does)