If you try to mount a Linux NFS share on your Solaris box, you might run into a “No such file or directory” error.
#deveth0@openindiana:/mnt# mount SERVER_IP:/mnt/media /mnt/old_media nfs mount: SERVER_IP:/mnt/media: No such file or directory
Solaris tries to connect to the Linux NFS Server via NFSv4. Both systems should support this version, but there can be problems either.
A simple solution is to for Solaris’ NFS Client to connect via NFSv3 by adding the option “vers=3″ to the mount statement.
#deveth0@openindiana:/mnt# mount -o vers=3 SERVER_IP:/mnt/media /mnt/old_media
If you want to persist the setting on your system, you can limit the client’s version to NFSv3 via sharctl.
#deveth0@openindiana:/mnt# sharectl set -p client_versmax=3 nfs
To revert this limitation, you can issue the following command:
#deveth0@openindiana:/mnt# sharectl set -p client_versmax=4 nfs