LXC.STORAGE.VOLUME.SET(1)
π 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 withhelpor--helpto 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
- 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