# Configuring NFS 4.0

Use this procedure to configure NFS 4.0 on delegate hosts if the operating system release is 7.4. There may be a file locking defect in NFS 4.1 with RHEL/CentOS 7.4.
1. Log in to the host as root, or as a user with superuser privileges.
2. Determine which release is installed.
cat /etc/redhat-release
• If the result includes 7.4, perform the remaining steps of this procedure.
• If the result includes 7.2 or 7.3, continue to the next procedure.
3. Change the NFS configuration file.
1. Open /etc/nfsmount.conf with a text editor.
2. Locate the Defaultvers directive.
3. Remove the number sign character (#) from the beginning of the line.
4. Change the value from 4 to 4.0.
The line should appear as follows:
Defaultvers=4.0
5. Save the file, and then close the editor.
4. Restart the NFS server.
systemctl restart nfs-server