Troubleshooting error ‘mount.nfs: requested NFS version or transport protocol is not supported’ and how to resolve it.
Another troubleshooting article aimed at specific error and help you how to solve it. In this article, we will see how to resolve error ‘mount.nfs: requested NFS version or transport protocol is not supported’ seen on NFS client while trying to mount NFS share.
# mount 10.0.10.20:/data /data_on_nfs
mount.nfs: requested NFS version or transport protocol is not supported
Sometimes you see error
mount.nfs: requested NFS version or transport protocol is not supported when you try to mount NFS share on NFS client. There are couple of reasons you see this error :
- NFS services are not running on NFS server
- NFS utils not installed on client
- NFS service hung on NFS server
Nfs services at nfs server can be down or hung due to multiple reasons like server utilization, server reboot etc.
You might be interested in reading :
To get rid of this error and successfully mount your share follow below steps.
Login to NFS server and check nfs services status.
[root@kerneltalks]# service nfs status
rpc.svcgssd is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
In above output you can see nfs services are stopped on server. Start them.
[root@kerneltalks]# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS mountd: [ OK ]
Starting NFS daemon: [ OK ]
Starting RPC idmapd: [ OK ]
You might want to check for
nfsserver service as well depends on your Linux distro.
Now try to mount nfs share on client. And you will be able to mount them using same command we see earlier!
Solution 2 :
If that doesn’t work for you then try installing package nfs-utils on your server and you will be get through this error.
Solution 3 :
/etc/sysconfig/nfs and try to check below parameters
# Turn off v4 protocol support
# Turn off v2 and v3 protocol support
#RPCNFSDARGS="-N 2 -N 3"
Removing hash from
RPCNFSDARGS lines will turn off specific version support. This way clients with mentioned nfs version wont be able to connect to NFS server for mounting share. If you have any of it enabled, try disabling it and mounting at client after NFS server service restart.
Let us know if you have faced this error and solved it by any other methods in comments below. We will update our article with your information to keep it updated and help the community live better!