Hello,
I’m New to incus, but I have some experience in managing VM and container.
Following the docs
To create an instance, you can use either the incus init or the incus launch command. The incus init command only creates the instance, while the incus launch command creates and starts it. Usage: ...
I did:
incus launch images:debian/12 debian-vm-big --vm --device root,size=30GiB
But then I am lost in resizing the root volume. The commands I found
from documentation and discourse return errors.
doc
Incus stores its data in storage pools, divided into storage volumes of different content types (like images or instances). You could think of a storage pool as the disk that is used to store data,...
suggests:
incus storage volume set my-pool my-volume size=1GiB
discourse
How to resize a volume in incus for alpine linux
Sometimes when you use default instance types in incus, the default root volume is too low. This mostly applies to alpine linux, which has a default root volume size of only 2gb! Be sure to do the INCUS commands first!
Steps:
install cloud-utils-growpart
install e2fsprogrs-extra
growpart /dev/sda 2
resize2fs /dev/sda2
On the incus side you need to run some commands too:
incus config device override <vm name> root size=<sizeingb>50Gib
This st…
suggests:
incus config device override root size=50Gib
both do not work:
$ incus --version
6.15
$ incus storage volume set default virtual-machine/debian-vm-big size=50GiB
Error: Volume "size" property is not valid for volume type
$ sudo incus config device override debian-vm-big root size=50Gib
Error: The device already exists
A bug, a feature o missing doc? Thanks in advance!
stgraber
(Stéphane Graber)
August 21, 2025, 2:16pm
2
incus config device override is used to override configuration from a profile, turning the device from a shared device to an instance-specific device.
Once that’s been done once, the device becomes local (will show in incus config show and not just incus config show --expanded). Once that’s the case, you need to use incus config device set to alter the device.
So in this case incus config device set debian-vm-big root size=50GiB
3 Likes