Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
Last active September 16, 2018 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rikka0w0/fcde2f95abe27302194a3457f1a19f09 to your computer and use it in GitHub Desktop.
Save rikka0w0/fcde2f95abe27302194a3457f1a19f09 to your computer and use it in GitHub Desktop.
Usermode NFS Server

unfsd

Server: unfsd -t -n2050 -m2050
Debian:\

apt install nfs-common rpcbind
systemctl start rpcbind

/etc/exports
<path> <ipaddr>(ro,insecure,all_squash,anonuid=0,anongid=0) On the server, use root user to perform file actions, May not be safe! Man:
[https://linux.die.net/man/8/unfsd] Ref:
[http://www.drobospace.com/forums/showthread.php?tid=1636]

Client: mount -t nfs -v -o port=2050 -o mountport=2050 -o mountvers=3 -o nfsvers=3 -o tcp -o nolock -o intr <ip_addr>:/root/maps maps [https://www.looklinux.com/how-to-install-unfs3-on-centos-6-x/]

nfs-ganesha

http://blog.51cto.com/nosmoking/1874320

https://objectivefs.com/howto/how-to-set-up-nfs-ganesha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment