LXC.STORAGE.VOLUME.CREATE(1)

๐Ÿ“ฆ
version 5.21.6 ยท 3 versions
, in opensuse-leap 16.0

๐Ÿ’… 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 are block or filesystem ๐Ÿงš default is filesystem, 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 ๐Ÿ“ข (default false)
  • --force-local[=false] โ€” force using the local unix socket ๐Ÿ”Œ (default false)
  • -h, --help[=false] โ€” print help, the classic ๐Ÿ˜Œ (default false)
  • --project="" โ€” override the source project ๐Ÿ—‚๏ธ (default empty)
  • -q, --quiet[=false] โ€” don't show progress information ๐Ÿคซ (default false)
  • --sub-commands[=false] โ€” use with help or --help to view sub-commands ๐Ÿช„ (default false)
  • -v, --verbose[=false] โ€” show all the information messages ๐Ÿ—ฃ๏ธ (default false)
  • --version[=false] โ€” print version number ๐Ÿท๏ธ (default false)

๐ŸŒˆ 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