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.

Note: We at TechSutram take our ethics very seriously. More information about it can be found here.
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.

2 comments:

  1. Hey,

    You 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

    ReplyDelete
  2. Absolutely. However, if someone wants to make changes permanent then he will have to modify /etc/default/nfs file.

    ReplyDelete

    Your valuable comments are welcome. (Moderated)