NFS mount problem on Solaris 10
We often face issue while mounting NFS exports from Linux (or any other OS, I guess) on Solaris machine. This is due to different versions of NFS protocols in between two machines.
In order to resolve this issue, we are required to modify one file.
1. Open /etc/default/nfs in your favorite editor
2. Search for “NFS_CLIENT_VERSMAX” or “#NFS_CLIENT_VERSMAX”. Its default value is set to 4
3. Uncomment this line and set its value to 3. Now it should look like,
NFS_CLIENT_VERSMAX=3
and that's it. We don’t need to restart any service for NFS mounting to work.
Never miss an update. Subscribe and follow to stay informed. Delivered Every Tuesday.
We hate spam too, we will never share your details.
Mandar Pise
Opinions expressed by techsutram contributors are their own. More details
Mandar is a seasoned software professional for more than a decade. He is Cloud, AI, IoT, Blockchain and Fintech enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about the Cloud, AI, IoT, Blockchain and Fintech and the effects they will have economically and socially in the future.
Weekly Newsletter
Never miss an update. Subscribe and follow to stay informed.
Delivered Every Tuesday.
Delivered Every Tuesday.
Thank you! You have successfully subscribed to our newsletter.
We hate spam too, we will never share your details.
Hey,
ReplyDeleteYou can achieve this simply by adding "-o vers=3" in your mount command.
e.g.
mount -o vers=3 server:/path/to/exported/share /mnt
And you are through !!
--
Prasanna
Absolutely. However, if someone wants to make changes permanent then he will have to modify /etc/default/nfs file.
ReplyDelete