How to disable NFS4 on a Suse 10.X Server

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
        echo "+2 +3 -4" > /proc/fs/nfsd/versions
        PARAMS="$PARAMS -N 4"

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.

Created by redflo. Last Modification: Friday 13 of February, 2009 15:05:50 UTC by redflo.

Flattr me!