om node pool create volume

Create a volume in the pool.

--access=<string>

The access mode of the volume. rwo, roo, rwx, rox.

--blk

Create a block volume instead of a formatted volume.

--color=<string>

Colorize output. Possible values are:

  • auto: guess based on tty presence
  • always|yes: always colorize
  • never|no: never colorize

--debug

Increase stream log verbosity up to the debug level.

--filter=<string>

A JSONPath expression to filter a JSON output.

--format=<string>

Specify a data formatter. Possible values are json, flat_json, csv or table. csv and table formatters are available only for commands returning tabular data.

--local

Set to disable cluster-wide operations.

--name=<string>

The name of the object.

--namespace=<string>

The namespace to switch to for the action. Namespaces are cluster partitions. A default namespace can be set for the session setting the OSVC_NAMESPACE environment variable.

--node=<string>

A node selector expression. Embedded in requests for the daemon to route and multiplex the request to a list of nodes. If not specified the local node is targeted.

--nodes=<string>

A node selector expression. Used as the created volume nodes.

--pool=<string>

The name of the storage pool.

--server=<string>

The server uri to send a request to. If not specified the local node is targeted. Supported schemes are https and raw. The default scheme is https. The default port is 1214 for the raw scheme, and 1215 for https. The uri can be a fullpath to a listener socket. In this case, the scheme is deduced from the socket. Examples: raw://1.2.3.4:1214, https://relay.opensvc.com, /var/lib/opensvc/lsnr/h2.sock.

--shared

Create a volume service for a shared volume resource.

--size=<string>

The size mode of the volume. ex: 10gi, 10g.

-h, --help

Show this help message and exit