volume quota policy rule delete

Delete an existing quota rule

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The volume quota policy rule delete command deletes a quota policy rule. This command is not supported on Infinite Volumes. You must enter the following information to delete a quota policy rule:
Note: If the rule being deleted belongs to the quota policy that is currently assigned to the Vserver, enforcement of the rule on the volume must be terminated by performing a quota off and on or a quota resize operation using the "volume quota modify" command.

Parameters

-vserver <vserver name> - Vserver
This parameter specifies the Vserver containing the quota policy for which you are deleting a rule.
-policy-name <text> - Policy Name
This parameter specifies the name of the quota policy in which you are deleting a rule.
-volume <volume name> - Volume Name
This parameter specifies the name of the volume for which you are deleting a rule.
-type {tree|user|group} - Type
This parameter specifies the quota target type for the rule.
-target <text> - Target
This parameter specifies the target to which the quota policy rule applies.
-qtree <qtree name> - Qtree Name
This parameter specifies the name of the qtree for which you are deleting a rule.

Examples

The following example deletes a quota policy rule on Vserver vs1 for the quota policy named quota_policy_1. This quota policy applies to the group named engr for the qtree named qtree1 on volume vol1.
cluster1::> volume quota policy rule delete -vserver vs1
-policy-name quota_policy_1 -volume vol1 -type group -target engr
-qtree qtree1