ONTAP 9

to Japanese version

Configure the time-to-live for cached NFS user credentials

You can configure the length of time that ONTAP stores credentials for NFS users in its internal cache (time-to-live, or TTL) by modifying the NFS server of the storage virtual machine (SVM). This enables you to alleviate certain issues related to high load on name servers or changes in credentials affecting NFS user access.

About this task

These parameters are available at the advanced privilege level.

Steps
  1. Set the privilege level to advanced:

    set -privilege advanced

  2. Perform the desired action:

    If you want to modify the TTL for cached…​

    Use the command…​

    Positive credentials

    vserver nfs modify -vserver vserver_name -cached-cred-positive-ttl time_to_live

    The TTL is measured in milliseconds. Beginning in ONTAP 9.10.1 and later, the default is 1 hour (3,600,000 milliseconds). In ONTAP 9.9.1 and earlier, the default is 24 hours (86,400,000 milliseconds). The allowed range for this value is 1 minute (60000 milliseconds) through 7 days (604,800,000 milliseconds).

    Negative credentials

    vserver nfs modify -vserver vserver_name -cached-cred-negative-ttl time_to_live

    The TTL is measured in milliseconds. The default is 2 hours (7,200,000 milliseconds). The allowed range for this value is 1 minute (60000 milliseconds) through 7 days (604,800,000 milliseconds).

  3. Return to the admin privilege level:

    set -privilege admin

Top of Page