Skip to main content

Validate qtree IDs for qtree file operations

Contributors netapp-aherbin

ONTAP can perform an optional additional validation of qtree IDs. This validation ensures that client file operation requests use a valid qtree ID and that clients can only move files within the same qtree. You can enable or disable this validation by modifying the -validate-qtree-export parameter. This parameter is enabled by default.

About this task

This parameter is only effective when you have assigned an export policy directly to one or more qtrees on the storage virtual machine (SVM).

Steps
  1. Set the privilege level to advanced:

    set -privilege advanced

  2. Perform one of the following actions:

    If you want qtree ID validation to be…​ Enter the following command…​

    Enabled

    vserver nfs modify -vserver vserver_name -validate-qtree-export enabled

    Disabled

    vserver nfs modify -vserver vserver_name -validate-qtree-export disabled

  3. Return to the admin privilege level:

    set -privilege admin