LXC.STORAGE.VOLUME.CREATE(1)
๐ NAME ๐
ok so bestie, gather round โ lxc-storage-volume-create, aka lxc storage volume create, is the one that creates new custom storage volumes โจ like literally that's the whole job, no cap ๐ซถ
the manual name is LXD - Command line client(1) btw, in case you were wondering what doc fam we're in ๐
๐ธ SYNOPSIS ๐ธ
lxc storage volume create [:] [key=value...] [flags]
that's the whole summoning circle ๐ฎ remote-pool name, then the volume, then as many key=value pairs as your little heart desires, then flags ๐
๐ฆ DESCRIPTION ๐ฆ
Description: (yes the original literally labels itself, iconic)
Create new custom storage volumes ๐
that's it. that's the vibe check. you point it at a pool, you give it a name, it makes a volume. main character energy fr fr ๐ฅ
โจ OPTIONS โจ
--target=""โ the cluster member name ๐ฏ (default is empty, i.e. don't target anyone specifically)--type="filesystem"โ the content type of your new volume, and your two choices areblockorfilesystem๐ง default isfilesystem, so if you don't say anything you get the cozy one ๐
๐ OPTIONS INHERITED FROM PARENT COMMANDS ๐
these are the ones you get for free from the parent command, like hand-me-downs but actually useful ๐ซถ
--debug[=false]โ show all the debug messages ๐ข (defaultfalse)--force-local[=false]โ force using the local unix socket ๐ (defaultfalse)-h,--help[=false]โ print help, the classic ๐ (defaultfalse)--project=""โ override the source project ๐๏ธ (default empty)-q,--quiet[=false]โ don't show progress information ๐คซ (defaultfalse)--sub-commands[=false]โ use withhelpor--helpto view sub-commands ๐ช (defaultfalse)-v,--verbose[=false]โ show all the information messages ๐ฃ๏ธ (defaultfalse)--version[=false]โ print version number ๐ท๏ธ (defaultfalse)
๐ EXAMPLE ๐
here's the moment you've been waiting for, the little demo ๐
lxc storage volume create p1 v1
boom. volume v1 in pool p1. slay ๐
lxc storage volume create p1 v1 < config.yaml
Create storage volume v1 for pool p1 with configuration from config.yaml.
ok so this one is the glow-up version: you pipe config.yaml straight into stdin with < and it creates storage volume v1 for pool p1 with configuration from config.yaml ๐ like you're feeding it a little snack and it grows a whole configured volume, obsessed ๐ญ
๐ SEE ALSO ๐
lxc-storage-volume(1)โ go read the parent page, iykyk ๐
โญ HISTORY โญ
22-Aug-2026 โ Auto generated by spf13/cobra ๐ค (yes bestie, a robot wrote the original, we're all just vibing on top of it ๐)
and that's the page!! this masterpiece was Auto generated by spf13/cobra, dated Aug 2026, and lives under the LXD - Command line client(1) banner โ so when you see that footer, that's just the cobra machine signing its work ๐โจ mwah, go create some volumes, you got this fr fr ๐๐ท๐ฆ
๐ฆ 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