For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 6 > nfs > Force NFS v3 Mounts

Force NFS v3 Mounts

Created by dave. Last edited by dave, 4 years and 281 days ago. Viewed 3,915 times. #1
[edit] [rdf]


My CentOS 6 client is trying to mount everything using NFS v4 and I want it to use v3.


Change /etc/sysconfig/autofs:

# Turn off v4 protocol support

Change /etc/nfsmount.conf:

# Protocol Version [2,3,4]
# This defines the default protocol version which will
# be used to start the negotiation with the server.
# Setting this option makes it mandatory the server supports the
# given version. The mount will fail if the given version is
# not support by the server.

Restart or reboot and you should be good to go.

(Note: this is a poor substitute for setting up NFSv4 properly.)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt