Table of ContentsLibraryView in Frames

Managing the access cache

Data ONTAP uses an access cache to reduce the likelihood it will have to perform a reverse DNS lookup or parse netgroups when granting or denying an NFS client access to a file system path.

Whenever an NFS client attempts to access a file system path, Data ONTAP must determine whether to grant or deny access. Except in the most simple cases (for example, when file systems paths are exported with just the ro or rw option), Data ONTAP grants or denies access according to a value in the access cache that corresponds to the following things:

If no such value exists in the access cache entry (for example, if Data ONTAP has not made a previous access determination or you have not created an access cache entry using the exportfs -c command for this particular NFS-client-file-system-path combination), Data ONTAP grants or denies access according to the result of a comparison between the following things:

Then Data ONTAP stores the result of this comparison in the access cache.

To reduce the likelihood that it will have to perform a reverse DNS lookup or parse netgroups, Data ONTAP breaks this comparison into three stages. It performs each successive stage of the comparison only if necessary to determine whether the NFS client has access to the file system path.

In the first stage, Data ONTAP compares the NFS client’s IP address with all export rules that consist entirely of IP addresses, including single IP addresses, subnets, and host names that Data ONTAP has previously resolved to IP addresses.

In the second stage, Data ONTAP performs a reverse DNS lookup on the NFS client’s IP address, and then compares the NFS client’s host name with all of the export rules that contain subdomains and host names that Data ONTAP has not resolved into IP addresses.

In the third stage, Data ONTAP parses netgroups.

Data ONTAP backs up the entry cache onto disk every 15 minutes so that the information in the access cache is available after reboots and after takeover or giveback.