volume create

Definition

Creates a new volume.

Usage

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

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

quotaInNamespace

Maximum number of buckets in a volume

quotaInBytes

Maximum space quota that can be used (in bytes)

ownerName

Owner of the volume. Defaults to the current user if not specified

-h, --help

Prints out a help manual for this command

-V, --version

Prints out version information and exits

Examples

Create a volume with a specified quota:

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