Specify the ID of the file system for which you are configuring quota settings. The file system cannot be read-only or a replication destination.
-fsname
Specify the name of the file system for which you are configuring quota settings. The file system cannot be read-only or a replication destination.
-path
Specify the quota tree path relative to the root of the file system. For a file system, either do not use this attribute, or set its value to
/.
Action qualifiers
Qualifier
Description
-async
Run the operation in asynchronous mode.
-userQuota
Indicates whether to enforce user quotas on the file system or quota tree. Valid values are:
on - Enable the enforcement of user quotas on the file system or quota tree.
off - Disable the enforcement of user quotas on the file system or quota tree. When you disable user quotas, the current user quota settings still exist unless you clear them. These settings are automatically reapplied when user quotas are re-enabled.
clear - Clear user quota settings after disabling a user quota.
Because enabling and disabling the enforcement of user quotas impacts system performance, it is recommended that you perform these operations only during non-peak production hours. When user quota enforcement is enabled, you can change user quota settings without impacting performance.
-policy
Specify the quota policy for the file system. Valid values are:
blocks (Blocks policy) - Calculates space usage in terms of file system blocks (8 KB units), and includes drive usage by directories and symbolic links in the calculations.
filesize (File policy) - Calculates space usage in terms of logical file sizes, and ignores the size of directories and symbolic links.
Specify the time period for which the system counts down days once the soft limit is met. If the grace period expires for a quota tree, users cannot write to the quota tree until more space becomes available, even if the hard limit has not been crossed. If the grace period expires for a user quota on a file system or quota tree, the individual user cannot write to the file system or quota tree until more space becomes available for that user. The default grace period is 7 days.
The format is:
<value><qualifier>
where:
value - An integer value, depending on the associated qualifier:
If the qualifier is m (minutes), the valid range is from 1 to 525600.
If the qualifier is h (hours), the valid range is from 1 to 8760.
If the qualifier is d (days), the valid range is from 1 to 365.
qualifier - One of the following value qualifiers (case insensitive):
m - Minutes
h - Hours
d - Days
infinite - No limit. This allows IO to continue after the soft limit is exceeded.
NOTE:If you update a grace period value, the new value affects only the quota or quotas which will exceed the soft limit after the update is performed. Any existing quotas which have been counting down using the older grace period value will not be affected.
-defaultSoft
Specifies the default preferred limit on storage usage for user quotas on the file system, quota trees in the file system, and user quotas on the quota trees in the file system. The system issues a warning when the soft limit is reached.
-defaultHard
Specify the default hard limit for on storage usage for user quotas on the file system, quota trees in the file system, and user quotas on the file system's quota trees. If the hard limit is reached for a quota tree, users will not be able to write data to the file system or tree until more space becomes available. If the hard limit is reached for a user quota on a file system or quota tree, that particular user will not be able to write data to the file system or tree.
NOTE:The hard limit should be larger than the soft limit.
-denyAccess
Indicates whether to enable quota limits for the file system. Valid values are:
yes - Enable quota functionality for the file system. When you choose this option, the ability to allocate space is determined by the quota settings.
no - Disable quota functionality for the file system. When you choose this option, the ability to allocate space will not be denied when a quota limit is reached.
Example 1
The following command configures quota tree /qtree_1 in file system res_1 as follows: