LXC.STORAGE.VOLUME.SET(1)

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

πŸ’… NAME

lxc-storage-volume-set β€” bestie, this is the one that sets storage volume configuration keys. that's it, that's the whole vibe ✨


πŸŽ€ SYNOPSIS

lxc storage volume set [:] [/] =... [flags]

πŸ¦‹ DESCRIPTION

okay so real talk, here's the description, direct from the source:

Set storage volume configuration keys πŸ’–

and because the universe loves backward compatibility (iconic of it tbh), you can still set a single configuration key the old way:

lxc storage volume set [:] [/]

no cap, it still works. 🫢


✨ OPTIONS ✨

  • -p, --property[=false] β€” flip this on to set the key as a storage volume property instead. lowkey important distinction πŸ’…
  • --target="" β€” the cluster member name. yep, that's the whole thing. 🎯

🌸 OPTIONS INHERITED FROM PARENT COMMANDS 🌸

these bad boys come down from the parent command, so you get them for free, periodt:

  • --debug[=false] β€” show all the debug messages. every last one. 😭
  • --force-local[=false] β€” force it to use the local unix socket instead πŸ”Œ
  • -h, --help[=false] β€” print help. the classic. the icon. πŸ‘‘
  • --project="" β€” override the source project πŸ—‚οΈ
  • -q, --quiet[=false] β€” don't show progress information. silence is golden ngl 🧚
  • --sub-commands[=false] β€” use this with help or --help to view sub-commands 🌈
  • -v, --verbose[=false] β€” show all information messages. she talks a lot and we love her for it πŸ’¬
  • --version[=false] β€” print version number ⭐

πŸ“ EXAMPLE πŸ“

okay bestie, here's the part where you gotta provide the type of the storage volume if it is not custom. the supported types are custom, image, container and virtual-machine. write that down fr fr.

lxc storage volume set default data size=1GiB

sets the size of a custom volume "data" in pool "default" to 1 GiB πŸ”₯

lxc storage volume set default virtual-machine/data snapshots.expiry=7d

sets the snapshot expiration period for a virtual machine "data" in pool "default" to seven days 🌸


πŸ”₯ SEE ALSO πŸ”₯

  • lxc-storage-volume(1) β€” go read the parent one, she knows things 🫢

πŸ’€ HISTORY πŸ’€

22-Aug-2026 β€” Auto generated by spf13/cobra πŸ€–


and that's the whole page, bestie!! you ate that πŸ’…βœ¨ this little beauty was Auto generated by spf13/cobra, dated Aug 2026, and it's part of the LXD - Command line client(1) manual. go forth and set those keys, iykyk πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from