How to Use the mount Command to Select Different Versions of NFS on a Client

This procedure explains how to use the mount command to control which version of NFS is used on a client for a particular mount. To find out how to modify the NFS version for all file systems mounted by the client, see How to Select Different Versions of NFS on a Client.

  1. Become an administrator.
  2. Mount the desired version of NFS on the client.
    # mount -o vers=value server-name:/share-point /local-dir
    value

    NFS version number

    server-name

    Name of the server

    /share-point

    Path of the remote directory

    /local-dir

    Path of the local mount point

    Note:

    This command overrides the client settings in the SMF repository.