Table of ContentsView in Frames

Adding entries to the access cache

You can use the exportfs -c command to check whether an NFS client has a specific type of access to a file system path and simultaneously add a corresponding entry to the access cache.

Step

  1. To check NFS client access and add an entry to the access cache, enter the following command: exportfs -c clientaddr[:clientaddr...] path [accesstype] [securitytype]

    clientaddr specifies the NFS client IP address.

    path specifies the file system path.

    accesstype specifies one of the following access type options:
    • ro—read-only access
    • rw—read-write access
    • root—root access
    If you do not specify an access type, Data ONTAP simply checks whether the NFS client can mount the file system path.
    securitytype specifies one of the following security type options:
    • sys—Unix-style security
    • none—no security
    • krb5—Kerberos Version 5 authentication
    • krb5i—Kerberos Version 5 integrity service
    • krb5p—Kerberos Version 5 privacy service
    If you do not specify a security type, Data ONTAP assumes the NFS client’s security type is sys.