Configuring an NFS server

Use this procedure to configure an NFS server.

To configure an NFS server:

  1. Create the /etc/exports file. See /etc/exports file.
  2. If you are using Kerberos, set up the NFS server as a Kerberos client. See Setting up a network for RPCSEC-GSS.
  3. If you are using NFS version 4, establish the NFS version 4 domain using the chnfsdom command.

    Initially, you can specify the server's internet domain in the file. It is possible, however, to define an NFS version 4 domain that is different from the server's internet domain. For clarification on this, see the nfsrgyd command for documentation on the NFS registry daemon.

  4. If you are using NFS version 4 with Kerberos, you may need to create the /etc/nfs/realm.map file. See /etc/nfs/realm.map file.
  5. If you want to use Kerberos authentication on the server, you must enable enhanced security on the server.
    You can enable enhanced security through using SMIT, or by using the chnfs -S -B command.