setup NFS server on SuSE Linux ------------------------------------------------ ## PROPER SEQUENCE: ## 1) rpcbind ## 2) nfsserver ## 3) nfs ------------------------------------------------ --> chkconfig --level 5 rpcbind on ln -s '/usr/lib/systemd/system/rpcbind.service' '/etc/systemd/system/multi-user.target.wants/rpcbind.service' ln -s '/usr/lib/systemd/system/rpcbind.socket' '/etc/systemd/system/sockets.target.wants/rpcbind.socket' ------------------------------------------------ --> chkconfig --level 5 nfsserver on --> chkconfig --level 5 nfs on ------------------------------------------------ --> service rpcbind start --> service nfsserver start --> service nfs start ------------------------------------------------ --> showmount -e Export list for JohnMeister: /home/luser/scripts 192.168.1.94 /home/luser/files/work 192.168.1.84 ------------------------------------------------ --> chkconfig -list | grep nfs nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off nfsserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off ------------------------------------------------ --> nfsstat Server rpc stats: calls badcalls badclnt badauth xdrcall 0 0 0 0 0 Client rpc stats: calls retrans authrefrsh 0 0 0 ------------------------------------------------ ps -ef | grep rpc root 8925 2 0 Mar04 ? 00:00:00 [rpciod] root 8940 1 0 Mar04 ? 00:00:00 /usr/sbin/rpc.idmapd -p /var/lib/nfs/rpc_pipefs root 9085 1 0 Mar04 ? 00:00:00 /sbin/rpcbind -w -f root 9118 1 0 Mar04 ? 00:00:00 /usr/sbin/rpc.mountd statd 9121 1 0 Mar04 ? 00:00:00 /usr/sbin/rpc.statd --no-notify root 9161 1 0 Mar04 ? 00:00:00 /usr/sbin/rpc.gssd -D -p /var/lib/nfs/rpc_pipefs root 9794 8297 0 00:15 pts/7 00:00:00 grep --color=auto rpc ------------------------------------------------ --> ls -al /etc/init.d/rc5.d | grep nfs lrwxrwxrwx 1 root root 6 Mar 4 23:20 K50nfs -> ../nfs lrwxrwxrwx 1 root root 12 Mar 4 23:20 K50nfsserver -> ../nfsserver lrwxrwxrwx 1 root root 6 Mar 4 23:20 S50nfs -> ../nfs lrwxrwxrwx 1 root root 12 Mar 4 23:20 S50nfsserver -> ../nfsserver ------------------------------------------------ exit Script done on Fri Mar 4 23:34:52 2016