Enable or disable NFSv4 read file delegations

Contributors

To enable or disable NFSv4 read file delegations, you can modify the -v4.0-read-delegationor -v4.1-read-delegation option. By enabling read file delegations, you can eliminate much of the message overhead associated with the opening and closing of files.

About this task

By default, read file delegations are disabled.

The disadvantage of enabling read file delegations is that the server and its clients must recover delegations after the server reboots or restarts, a client reboots or restarts, or a network partition occurs.

Step
  1. Perform one of the following actions:

    If you want to…​ Then…​

    Enable NFSv4 read file delegations

    Enter the following command:

    vserver nfs modify -vserver vserver_name -v4.0-read-delegation enabled

    Enable NFSv4.1 read file delegations

    Enter the following command:

    + vserver nfs modify -vserver vserver_name -v4.1-read-delegation enabled

    Disable NFSv4 read file delegations

    Enter the following command:

    vserver nfs modify -vserver vserver_name -v4.0-read-delegation disabled

    Disable NFSv4.1 read file delegations

    Enter the following command:

    vserver nfs modify -vserver vserver_name -v4.1-read-delegation disabled

Result

The file delegation options take effect as soon as they are changed. There is no need to reboot or restart NFS.