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
- Ensure that NFS4_SUPPORT is set to yes in
/etc/sysconfig/nfs:
$ grep"NFS4_SUPPORT" /etc/sysconfig/nfs NFS4_SUPPORT="yes"
- 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
- Reload nfs-idmapd.service:
$ systemctl reload nfs-idmapd.service
- Enable NFS service on boot:
$ systemctl enable nfsserver
- 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) ...