LXC.STORAGE.VOLUME.GET(1)

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

πŸ’… LXC STORAGE VOLUME GET ✨

okay so real talk: this is the lxc-storage-volume-get page from the LXD - Command line client(1) manual (yep, section 1, we're fancy like that), and it's literally just here to teach you how to peek at storage volume config keys. no cap, that's the whole vibe. πŸŽ€


🌸 NAME 🌸

lxc-storage-volume-get β€” bestie, this is your girl for Get values for storage volume configuration keys. that's it, that's the job. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

lxc storage volume get [:] [/][/]  [flags]

(she's a little mysterious-looking with those brackets, ngl β€” but every character up there is exactly as written, so don't come for me πŸ™ˆ)


✨ DESCRIPTION ✨

so the description literally says it, and I'm gonna say it again because it's important:

Get values for storage volume configuration keys

like… you point at a volume, you name a config key, it hands you the value. lowkey iconic behaviour. πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

  • -p, --property[=false] β€” get the key as a storage volume property instead. it's giving "different look, same data" πŸ’…
  • --target="" β€” the cluster member name. yes, the original has a stray trailing pair of backticks on that line β€” not me, I'm just reporting the facts, fr fr 😭

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these bad boys come down the family tree β€” main character energy from the parent command:

  • --debug[=false] β€” show all debug messages. every single one. buckle up 🫢
  • --force-local[=false] β€” force using the local unix socket
  • -h, --help[=false] β€” print help
  • --project="" β€” override the source project (again, there's a stray trailing `` in the original β€” copying it exactly, don't @ me) πŸ™ˆ
  • -q, --quiet[=false] β€” don't show progress information. shhh 🀫
  • --sub-commands[=false] β€” use with help or --help to view sub-commands
  • -v, --verbose[=false] β€” show all information messages
  • --version[=false] β€” print version number

πŸ“ EXAMPLE πŸ“

okay bestie, this part is genuinely useful so pay attention πŸ’–

Provide the type of the storage volume if it is not custom. Supported types are custom, image, container and virtual-machine.
Add the name of the snapshot if type is one of custom, container or virtual-machine.

then it drops two absolute bangers of examples:

lxc storage volume get default data size
    Returns the size of a custom volume "data" in pool "default".

lxc storage volume get default virtual-machine/data snapshots.expiry
    Returns the snapshot expiration period for a virtual machine "data" in pool "default".

first one: size of a custom volume named data in pool default. ate. πŸ’… second one: snapshot expiration period for a virtual-machine named data in pool default. also ate. πŸ”₯

(those command lines and their result descriptions? copied character for character. iykyk ⭐)


🧚 SEE ALSO 🧚

  • lxc-storage-volume(1) β€” go say hi to the parent page, she's the whole reason this one exists πŸ’œ

🌈 HISTORY 🌈

  • 22-Aug-2026 β€” Auto generated by spf13/cobra
ngl a machine wrote this one, so if the vibes are immaculate it's because cobra understood the assignment 😭

and that's the whole page, bestie! πŸ’– so like, this little beauty was Auto generated by spf13/cobra and she's dated Aug 2026, living rent-free in the LXD - Command line client(1) manual. go get those config values, you absolute legend πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from