Table of ContentsView in Frames

Enabling and disabling fencing of one or more NFS clients from one or more file system paths

You can use fencing to give multiple NFS clients temporary or permanent read-only or read-write access to multiple file system paths.

About this task

When you enable or disable fencing, Data ONTAP moves the NFS clients you specify to the front of their new access lists (rw= or ro=). This reordering can change your original export rules.


  1. Enter the following command:
    exportfs -b enable | disable save | nosave allhosts | clientid[:clientid...] allpaths | path[:path...]
    If you want to... Then...
    Enable fencing Specify the enable option.
    Disable fencing Specify the disable option.
    Update the /etc/exports file Specify the save option.
    Prevent the updating of the /etc/exports file Specify the nosave option.
    Affect all NFS clients Specify the allhosts option.
    Affect all exported file system paths Specify the allpaths option.
    Affect a specific set of NFS clients Specify a colon-delimited list of NFS client identifiers.
    Affect a specific set of file system paths Specify a colon-delimited list of file system paths

    Data ONTAP processes all of the NFS requests in its queue before it enables or disables fencing, thereby ensuring that all file writes are complete.