Skip to content

Instantly share code, notes, and snippets.

@mfurlend
Last active June 8, 2018 17:16
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 mfurlend/d7497e09a662d42c83c122ac35dca44f to your computer and use it in GitHub Desktop.
Save mfurlend/d7497e09a662d42c83c122ac35dca44f to your computer and use it in GitHub Desktop.
Export/Import NFS shares with subdirectories as mount points
/etc/exports (on NFS server)
/mnt/disk                     10.142.0.0/24(rw,no_subtree_check,sync,crossmnt)
/mnt/disk/WRFV381/data_ingest 10.142.0.0/24(rw,no_subtree_check,sync)
/etc/auto.hvm (on NFS client, with AutoFS)
/mnt/disk                     -rw,soft,intr,rsize=8192,wsize=8192,nosuid    10.142.0.12:/mnt/disk
/mnt/disk/WRFV381/data_ingest -rw,soft,intr,rsize=8192,wsize=8192,nosuid    10.142.0.12:/mnt/disk/WRFV381/data_ingest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment