Raja's Exocortex

Alpine NFS Server and Client

NFS Kernel Server

Install NFS Server Package

apk add --no-cache nfs-utils
rc-update add nfs
rc-service nfs start

Configure NFS Server

Assuming /export contains a new filesystem to be exported via NFS.

# Filename: /etc/exports
# After updating this file, use exportfs -arv to reread
# Share /export to everyone with full access
/export *(rw,no_subtree_check,no_root_squash,async)

Verifying NFS Exports

alpine-nfs-server:~# exportfs -arv
exporting *:/export

NFS Client

#TODO packages required in the client. Is anything required at all?

Assuming NFS Server is on IP 10.1.2.105.

# Filename: /etc/fstab
# Mount /export fom NFS server in /nfs
10.1.2.105:/export /nfs nfs defaults 0 0

References

https://wiki.alpinelinux.org/wiki/Setting_up_an_NFS_server

https://gist.github.com/jnovack/bd6530c5ac444bad4a340bf9be36990c