Modify the NFS configuration


In most cases, you will not need to modify the configuration of the NFS-enabled vserver for NFS over RDMA.

If you are, however, dealing with issues related to Mellanox chips and LIF migration, you should increase the NFSv4 locking grace period. By default, the grace period is set to 45 seconds. Beginning in ONTAP 9.10.1, the grace period can go as high as 180 seconds.

  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

For more about this task, see Specifying the NFSv4 locking grace period.