Skip to content

Instantly share code, notes, and snippets.

@mydreambei-ai
Created October 19, 2016 02:45
Show Gist options
  • Save mydreambei-ai/96f297c00060a8b527bfef62cc42684d to your computer and use it in GitHub Desktop.
Save mydreambei-ai/96f297c00060a8b527bfef62cc42684d to your computer and use it in GitHub Desktop.

NFS server setup

Install And Start Server
  1. yum -y install rpcbind zfs
  2. service rpcbind start
  3. service zfs start
Setup
  1. mkdir /home/nfs
  2. echo '/home/nfs *(rw,async,all_squash,anonuid=0)' >> /etc/exports
  3. exportfs -r
  4. showmount -e
Client Mount
  1. mount -t nfs4 server-ip:/home/nfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment