Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mount.nfs: requested NFS version or transport protocol is not supported

Tags:

mount

nfs

rhel

NFS Mount is not working in my RHEL 7 AWS instance.

When I do a

mount -o nfsvers=3 10.10.11.10:/ndvp2 /root/mountme2/

I get the error:

mount.nfs: requested NFS version or transport protocol is not supported

Can anyone point me where I am wrong? Thanks.

like image 768
Akki Avatar asked Sep 06 '16 11:09

Akki


People also ask

Can not mount NFS?

Check the network status between your NAS and NFS client Check the network connectivity via the ping command. Check if any IP conflicts occured. Check if there are any firewall rules disabling the port for NFS service on the client, Synology NAS, switch, router, or any device in the same LAN.


3 Answers

Check the nfs service is started or reboot the nfs service.

like image 187
user_dev Avatar answered Oct 04 '22 17:10

user_dev


sudo systemctl status nfs-kernel-server In my case this package was not running and the issue was in /etc/exports file where i was having same IP address for two machines. So i commented one ip address for the machine and restarted nf-kernel-server using sudo systemctl restart nfs-kernel-server and reload the machine. It worked.

like image 3
jazeb007 Avatar answered Oct 04 '22 18:10

jazeb007


A precision which might be useful for the dump (like me): systemctl status nfs-server.service and systemctl start nfs-server.service must be executed on the server!

like image 3
saitas Avatar answered Oct 04 '22 18:10

saitas