NFS server setup

Evaluation runs utilized an LPAR installed with SLES12 SP1 to provide NFS file services.

The SLES12 NFS server requires the following NFS packages which should be automatically installed, in a default server installation:

  • nfs-kernel-server
  • nfsidmap
  1. Ensure that NFS4_SUPPORT is set to yes in /etc/sysconfig/nfs:
    $ grep"NFS4_SUPPORT" /etc/sysconfig/nfs
    NFS4_SUPPORT="yes"
  2. Ensure that the Domain setting in /etc/idmapd.conf is set to the domain name for which your system is configured:
    $ grep "Domain"
    Domain = example.com
    
  3. Reload nfs-idmapd.service:
    $ systemctl reload nfs-idmapd.service
  4. Enable NFS service on boot:
    $ systemctl enable nfsserver
  5. Configure /etc/exports:
    $ cat /etc/exports
    ...
    /mnt/test128  *(rw,wdelay,no_root_squash,no_subtree_check,sec=sys,rw,\
      secure,no_root_squash,no_all_squash)
    ...