Validate qtree IDs for qtree file operations
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.
This parameter is only effective when you have assigned an export policy directly to one or more qtrees on the storage virtual machine (SVM).
-
Set the privilege level to advanced:
set -privilege advanced
-
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
-
Return to the admin privilege level:
set -privilege admin