Previous page

Next page

Locate page in Contents

Print this page

vzquota setlimit

This command updates limits for the running quota. It requires at least one limit to be specified. It also updates the corresponding quota file with new settings. The syntax of this command is:

vzquota [options] setlimit <CT_ID> [command-options]

Command options can be:

-u, --ugid-limit num

Optional. Specifies the maximum number of user and group IDs for which usage statistics will be counted in this Container. If this value is 0, user/group quota will not be accounted. Default value is 0.

-b, --block-softlimit num
-B, --block-hardlimit
num
-e, --block-exptime
time
-i, --inode-softlimit
num
-I, --inode-hardlimit
num
-n, --inode-exptime
time

These options are optional for the vzquota on command. However, at least one of these options or -u, --ugid-limit num must be specified. These options are described in the vzquota init subsection.

-c quota_file

Optional. Specifies the file where to write output of the counted disk space and inodes as well as limits. If omitted, the default /var/vzquota/quota.<CT_ID> file is used.

Please send us your feedback on this help page