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.

By Mandar

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)


Instagram