[lxc-users] How to set default volume size using the "volume.size" property on the pool

Kees Bakker keesb at ghs.com
Mon Sep 24 06:56:30 UTC 2018


This is still unanswered.

How do I set the default volume size of the storage pool?

On 13-09-18 10:19, Kees Bakker wrote:
> Hey,
>
> Forgive my ignorance, but how would you do that? I have a setup with LVM
> and the default volume size is 10G. I wish to increase that default,
> what would be the command syntax? Also I want to see the current
> default settings, just so I know I'm on the right track.
>
> My pool is called "local".
>
> # lxc storage show local
> config:
>   lvm.thinpool_name: LXDThinPool
>   lvm.vg_name: local
> description: ""
> name: local
> driver: lvm
> used_by:
> - /1.0/containers/bionic01
> - /1.0/containers/kanboard
> - /1.0/containers/license4
> - /1.0/containers/usrv1
> - /1.0/containers/usrv1/snapshots/after-aptinstall-freeipa
> - /1.0/images/7079d12b3253102b829d0fdd6f1f693a1654057ec054542e9e7506c7cf54fa2e
> - /1.0/images/c395a7105278712478ec1dbfaab1865593fc11292f99afe01d5b94f1c34a9a3a
> - /1.0/profiles/default
> - /1.0/profiles/default_pub
> - /1.0/profiles/testprof
> status: Created
> locations:
> - maas
>
> There is no volume.size. Should I just add it?



More information about the lxc-users mailing list