NFS DAEMON & CLIENT SETUP

SLACKWARE DAEMON

slackpkg update
slackpkg search nfs-utils
slackpkg search rpcbind
slackpkg search libtirpc

enable & start

chmod +x /etc/rc.d/rc.nfsd /etc/rc.d/rc.rpc
/etc/rc.d/rc.rpc start
/etc/rc.d/rc.nfsd start

status

pgrep -a mountd
exportfs
showmount -e 127.0.0.1

stop

/etc/rc.d/rc.nfsd stop
/etc/rc.d/rc.rpc stop 

NETBSD DAEMON

Chapter 29. Network services https://www.netbsd.org/docs/guide/en/chap-net-services.html

NetBSD5-Netzwerkinstallation http://wp.lando.cc/category/operation-systems/netbsd/

DEBIAN/UBUNTU DAEMON

apt install rpcbind nfs-kernel-server
systemctl...

DAEMON SETUP & OPERATIONS

mv -i /etc/exports /etc/exports.dist
vi /etc/exports

/tftpboot   x.x.x.x/24(ro,no_root_squash,async,subtree_check)
#/data      x.x.x.x/24(mp,rw,no_root_squash,async,subtree_check)

exportfs -ra

DEBIAN/UBUNTU CLIENT

install nfs client to mount nfs shares,

    apt install nfs-common

setup some mount point,

showmount -e x.x.x.x
cp -pi /etc/fstab /etc/fstab.dist
mkdir -p /data/
touch /data/NOT_MOUNTED
vi /etc/fstab

x.x.x.x:/data /data nfs auto 0 0
#x.x.x.x:/data /data nfs _netdev,rw 0 0

mount /data

RESOURCES

Network File System https://en.wikipedia.org/wiki/Network_File_System

SettingUpNFSHowTo https://help.ubuntu.com/community/SettingUpNFSHowTo

Mount at startup https://help.ubuntu.com/community/SettingUpNFSHowTo#Mount_at_startup

NFS Client Configuration https://help.ubuntu.com/lts/serverguide/network-file-system.html#nfs-client-configuration


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml