How to disable NFS4 on Suse 10.X Server


This is a bug i never saw a resolution. But it is simple: The script to start the server has a bug. Edit the file /etc/init.d/nfsserver and change:

       if [ "$NFS4_SUPPORT" = "yes" ]; then
         echo "+2 +3 +4" > /proc/fs/nfsd/versions
      else
        echo "+2 +3 -4" > /proc/fs/nfsd/versions
        PARAMS="$PARAMS -N 4"
      fi


Note: the Line with "PARAMS" is added. everything else is unchanged. Restart the nfs server and enjoy.

This is a common solution if you have problems connecting a solaris 10 client to a suse NFS server.