LXC.STORAGE.CREATE(1)
π 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 withhelpor--helpto 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
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms