Skip to content

Instantly share code, notes, and snippets.

@thewellington
Last active December 26, 2015 08:59
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 thewellington/7125842 to your computer and use it in GitHub Desktop.
Save thewellington/7125842 to your computer and use it in GitHub Desktop.
Create NFS Exports on NetApp
#
#
#
# first, read current exports file
rdfile /vol/vol0/etc/exports
# second, copy output to text editor, make necessary changes
# third, copy/paste new exports file
wrfile /vol/vol0/etc/exports
# paste contents in, and press enter, then ctrl-c
# this is OK
read: error reading standard input: Interrupted system call
# check to be sure your changes took. read file again
rdfile /vol/vol0/etc/exports
# export NFS
exportfs -a
# DONE!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment