volume setquota

Definition

Manages storage space quota for a volume.

Usage

$ ozone sh volume setquota [-hV] [--namespace-quota=<quotaInNamespace>]
                                 [--quota=<quotaInBytes>]
                                 <value>
Arguments
Parameter Description

quotaInNamespace

Maximum number of buckets in a volume

quotaInBytes

Maximum space quota that can be used (in bytes)

value

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

-h, --help

Prints out a help manual for this command

-V, --version

Prints out version information and exits

Examples

Specifying quota for a volume:

$ ozone sh volume setquota --namespace-quota=5 --quota=1073741824 vol1
Found a mistake? Seleсt text and press Ctrl+Enter to report it