To specify which file system paths Data ONTAP exports automatically when NFS starts, you can edit the /etc/exports file. For more information, see the na_exports(5) manual page.
If the nfs.export.auto-update option is on, which it is by default, Data ONTAP automatically updates the /etc/exports file when you create, rename, or delete volumes. For more information, see the na_options(1) manual page.
An export entry has the following syntax:
path -option[,option...]
In the export entry syntax, path is a file system path (for example, a path to a volume, directory, or file) and option is an export option that specifies the following information:
If you edit the /etc/exports file using a text editor, your changes will not take effect until you export all file system paths in the /etc/exports file or synchronize the currently exported file system paths with those specified in the /etc/exports file.
Running the exportfs command with the -b, -p, or -z option also changes the /etc/exports file.