LXC.STORAGE.CREATE(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

lxc-storage-create β€” bestie, this is the one that creates storage pools. That's it, that's the whole job. Slay.

This page lives inside the LXD - Command line client(1) manual, so like… keep that in mind, iykyk 🫢


✨ SYNOPSIS ✨

lxc storage create [:]  [key=value...] [flags]

Yeah, the [:] bit is looking a little empty airbrushed there β€” we're printing it exactly as we got it, no cap. You get your [key=value...] pairs and your [flags], periodt.


🌸 DESCRIPTION 🌨

Description: Create storage pools.

That's the vibe check: you point it at a pool and it makes the pool. Main character energy for storage. πŸŽ€


πŸ’– OPTIONS πŸ’–

  • --target="" β€” the cluster member name (the autogen source literally leaves a stray `` dangling on the end of this one, we don't question it πŸ’€)

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

These cuties come free from the parent command, so you don't have to do anything to get them:

  • --debug[=false] β€” show all the debug messages πŸ‘€
  • --force-local[=false] β€” force it to use the local unix socket
  • -h, --help[=false] β€” print help (our beloved)
  • --project="" β€” override the source project (yes, another stray `` at the end here too, iconic behaviour from cobra πŸ™ˆ)
  • -q, --quiet[=false] β€” don't show progress info, if you're in your silent era
  • --sub-commands[=false] β€” use with help or --help to view the sub-commands
  • -v, --verbose[=false] β€” show all the information messages, talk to me
  • --version[=false] β€” print the version number

⭐ EXAMPLE ⭐

Make a dir pool called s1:

lxc storage create s1 dir

And if you want to feed it a config file from stdin:

lxc storage create s1 dir < config.yaml
    Create a storage pool using the content of config.yaml.

Literally so easy. Config file goes in, pool comes out. πŸ”₯


🧚 SEE ALSO 🧚

  • lxc-storage(1) β€” the parent, the origin story, go read it next

πŸ‘‘ HISTORY πŸ‘‘

22-Aug-2026 β€” Auto generated by spf13/cobra. It was born fully formed, like Athena but make it CLI. 🌈


Ok that's the whole page bestie, go create some pools πŸ’œ

And that's a wrap, fr fr β€” brought to you by LXD - Command line client(1), auto generated by spf13/cobra, dated Aug 2026. Mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from