volume qtree modify
Modify qtree attributes
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
This command allows you to modify the following attributes of an existing qtree in the given Vserver and volume:
- Security style
- Opportunistic lock mode
- Export policy
Parameters
- -vserver <vserver name> - Vserver Name
- This specifies the name of the Vserver on which the volume containing the qtree belongs.
- { -volume <volume name> - Volume Name
- This specifies the name of the volume containing the qtree to be modified.
- -qtree <qtree name> - Qtree Name
- This specifies the name of the qtree to be modified. You can modify the attributes of qtree0 (represented as "" in the CLI) by omitting the -qtree parameter from the command or by specifying the value """" for the -qtree parameter.
- | -qtree-path <qtree path>} - Actual (Non-Junction) Qtree Path
- The qtree path argument in the format /vol/<volume name>/<qtree name> can be specified instead of specifying volume and qtree as separate arguments. The automatically created qtree0 can be represented as /vol/<volume name>.
- [-security-style <security style>] - Security Style
- This optionally modifies the security style for the qtree. The supported values are ntfs (for CIFS ACLs), and mixed (for NFS and CIFS access). Modifying a qtree's security style will not affect any of the files in the other qtrees of this volume.
- [-oplock-mode {enable|disable}] - Oplock Mode
- This optionally modifies whether oplocks are enabled for the qtree.
Modifying qtree0's oplock mode will not affect any of the files in the other qtrees of this volume.
- [-export-policy <text>] - Export Policy
- This optional parameter modifies the export policy associated with the qtree. If you do not specify an export policy name, the qtree inherits the export policy of the containing volume.For information on export policy, see the documentation for the vserver export-policy create command.
Examples
The following example modifies a qtree named qtree1. The Vserver name is vs0 and the volume containing the qtree is named vol1. The qtree now has a ntfs security style and oplocks are enabled.
cluster1::> volume qtree modify -vserver vs0 -volume vol1 -qtree qtree1 -security-style ntfs -oplocks enabled
Give documentation feedback