volume quota policy rule show
Display the quota rules
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
This command displays the following information about quota policy rules by default.
-
Vserver name
-
Quota policy name
-
Volume name
-
Type of quota policy rule
-
Target of the quota policy rule
-
Qtree name
-
User mapping
-
Hard disk limit
-
Soft disk limit
-
Hard file limit
-
Soft file limit
-
Threshold for disk limit
Parameters
- {
[-fields <fieldname>,…] -
If you specify the
-fields <fieldname>, …parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]} -
If you specify the
-instanceparameter, the command displays detailed information about all fields. [-vserver <vserver name>]- Vserver-
If this parameter is specified, the command displays information about quota rules for the quotas contained on volumes on the specified Vserver.
[-policy-name <text>]- Policy Name-
If this parameter is specified, the command displays information about quota rules for the specified quota policy.
[-volume <volume name>]- Volume Name-
If this parameter is specified, the command displays information about quota rules for the quota policy associated with the specified volume.
[-type {tree|user|group}]- Type-
If this parameter is specified, the command displays information about quota rules for the specified quota type.
[-target <text>]- Target-
If this parameter is specified, the command displays information about quota rules for the specified target.
[-qtree <qtree name>]- Qtree Name-
If this parameter is specified, the command displays information about quota rules for the specified qtree.
[-user-mapping {on|off}]- User Mapping-
If this parameter is specified, the command displays information about quota rules having the specified user-mapping value.
[-disk-limit {<size>|-}]- Disk Limit-
If this parameter is specified, the command displays information about quota rules having the specified hard disk limit.
[-file-limit {<integer>|-}]- Files Limit-
If this parameter is specified, the command displays information about quota rules having the specified hard file limit.
[-threshold {<size>|-}]- Threshold for Disk Limit-
If this parameter is specified, the command displays information about quota rules having the specified disk limit threshold.
[-soft-disk-limit {<size>|-}]- Soft Disk Limit-
If this parameter is specified, the command displays information about quota rules having the specified soft disk limit.
[-soft-file-limit {<integer>|-}]- Soft Files Limit-
If this parameter is specified, the command displays information about quota rules having the specified soft file limit.
Examples
The following example displays information about all the quota policy rules in a cluster. There is one user rule that exists on Vserver vs0 for the quota policy named quota_policy_0. This quota policy applies to the user named myuser for qtree named qtree0 on volume vol0.
cluster1::> volume quota policy rule show
Vserver: vs0 Policy: quota_policy_0 Volume: vol0
Soft Soft
User Disk Disk Files Files
Type Target Qtree Mapping Limit Limit Limit Limit Threshold
----- ------ ------ ------- ------- ------- ------ ------- ---------
tree myuser qtree0 on 20GB 18GB 100000 80000 16GB