Specify the NFSv4 locking grace period

Contributors

To specify the NFSv4 locking grace period (that is, the time period in which clients attempt to reclaim their locking state from ONTAP during server recovery), you can modify the -v4-grace-seconds option.

About this task

By default, this option is set to 45.

Steps
  1. Set the privilege level to advanced:

    set -privilege advanced

  2. Enter the following command:

    vserver nfs modify -vserver vserver_name -v4-grace-seconds number_of_seconds

  3. Return to the admin privilege level:

    set -privilege admin