bucket clrquota

Definition

Clears quota for a bucket.

Usage

$ ozone sh bucket clrquota [-hV] [--namespace-quota]
                                 [--space-quota]
                                 <value>
Arguments
Parameter Description

value

A bucket URI. It can be a full URI (starts with o3://, e.g. o3://hostname:9862/vol1/bucket1/) or a short URI (starts with a volume name, e.g. vol1/bucket1). Any missing information is obtained from the configuration files

--namespace-quota

Defines whether to clear the namespace quota (maximum number of keys in a bucket). The new value will be -1 by default

--space-quota

Defines whether to clear the space quota (maximum number of space that can be used). The new value will be -1 by default

-h, --help

Prints out a help manual for this command

-V, --version

Prints out version information and exits

Examples

Clearing a quota for a bucket:

$ ozone sh bucket clrquota --namespace-quota --space-quota vol1/bucket1
Found a mistake? Seleсt text and press Ctrl+Enter to report it