If you choose not to use NFS version 4, use this procedure.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Edit the /etc/default/nfs file.
For example, if you want the server to provide only version 3, set the values for both NFS_SERVER_VERSMAX and NFS_SERVER_VERSMIN to 3. For a list of keywords and their values, refer to Keywords for the /etc/default/nfs File.
Provide the version number.
By default, these lines are commented. Remember to remove the pound (#) sign, also.
(Optional) If you want to disable server delegation, include this line in the /etc/default/nfs file.
In NFS version 4, server delegation is enabled by default. For more information, see Delegation in NFS Version 4.
(Optional) If you want to set a common domain for clients and servers, include this line in the /etc/default/nfs file.
Provide the common domain
For more information, refer to nfsmapid Daemon.
Check if the NFS service is running on the server.
Type the following command:
# svcs network/nfs/server
This command reports whether the NFS server service is online or disabled.
(Optional) If necessary, disable the NFS service.
If you discovered from the previous step that the NFS service is online, type the following command to disable the service.
# svcadm disable network/nfs/server
If you need to configure your NFS service, refer to How to Set Up Automatic File-System Sharing.
Enable the NFS service.
Type the following command to enable the service.
# svcadm enable network/nfs/server