Launch a instance with non default rootfs size in lvm pool storage

Hello all. My default storage is lvm(pool), everything I wantto launch a new instance, it would create a less than 10G volume from that lvm pool whatever the size of the image template.

I have to stop that instance, enable and disable that volume while doing resizing every times.

Is there a way to request a larger size for the rootfs ?

You can set volume.size on the storage pool to set a default size/quota for new volumes.

See https://linuxcontainers.org/lxd/docs/master/storage

1 Like