RHEL 7: NFS file system version

On RHEL 7, the mount command displays the file system type as either nfs or nfs4 depending on the NFS version used in the NFS server. If the NFS server is using NFSv4, the file system type is displayed as nfs4, so you must set FSType = nfs4 for the mount resource. If the NFS server is using NFSv3, the file system type is displayed as nfs, so you must set FSType = nfs for the mount resource.

You can override the NFS version setting by specifying vers when you mount the file system.

The following is an example in which the default NFS version is used:

# mount -t nfs nfsserver:/mnt /mnt

# mount

...
nfsserver:/mnt on /mnt type nfs4(rw,relatime,vers=4.0,rsize=1048576,
wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,
sec=sys,clientaddr=192.168.0.10,local_lock=none,addr=192.168.0.10)
#

The following is an example in which vers=3 is specified:

# mount -t nfs -o vers=3 nfsserver:/mnt /mnt

# mount

...
nfsserver:/mnt on /mnt type nfs(rw,relatime,vers=3,rsize=1048576,
wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,
sec=sys,mountaddr=192.168.0.10,mountvers=3,mountport=44649,
mountproto=udp,local_lock=none,addr=192.168.0.10)
#