Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell Unity™ Family Unisphere® Command Line Interface User Guide

Configure quota settings

You can configure quota configuration settings for a file system or quota tree.

Format

/quota/config {-fs <value> | -fsName <value>} [-path <value>] set [-async] {-policy {blocks | filesize} | [-userQuota {on | off | clear}] [-gracePeriod <value> | infinite] [-defaultSoft <value>] [-defaultHard <value>] [-denyAccess {yes | no}]}

Object qualifiers

QualifierDescription
-fsSpecify 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

QualifierDescription
-asyncRun the operation in asynchronous mode.
-userQuotaIndicates 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.
-policySpecify 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.

For more information, see Configure quota settings

-gracePeriodSpecify 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.
-defaultSoftSpecifies 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.
-defaultHardSpecify 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:

  • Sets the default grace period to 5 days.
  • Sets the default soft limit 10 GB.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /quota/config -fs res_1 -path /qtree_1 set -gracePeriod 5d -defaultSoft 10G
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

Operation completed successfully.

Example 2

The following command sets a quota tree for file system fs1 in path /dir1 to a grace period that has no soft limit.

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /quota/config -fsName fs1 -path /dir1 set -gracePeriod infinite
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

Operation completed successfully.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\