lxc storage volume create
Description: Create new custom storage volumes Synopsis: Description: Create new custom storage volumes Examples: Options: Options inherited from parent commands: SEE ALSO: lxc storage volume- Manage storage vo...

Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# `lxc storage volume create`

Create new custom storage volumes

## Synopsis

Description: Create new custom storage volumes

    lxc storage volume create [<remote>:]<pool> <volume> [key=value...] [flags]

## Examples

      lxc storage volume create p1 v1

      lxc storage volume create p1 v1 < config.yaml
      	Create storage volume v1 for pool p1 with configuration from config.yaml.

## Options

          --target   Cluster member name
          --type     Content type, block or filesystem (default "filesystem")

## Options inherited from parent commands

          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc storage volume - Manage storage volumes