Failed to run: zfs set volsize=40000004096 INCUS/virtual-machines/ubuntu-vm.block

Error: Failed instance creation: Failed creating instance from image: Failed to run: zfs set volsize=40000004096 INCUS/virtual-machines/ubuntu-vm.block: exit status 255 (cannot set property for ‘INCUS/virtual-machines/ubuntu-vm.block’: ‘volsize’ must be a multiple of volume block size (16K))

Can’t create new VM’s with 40GB in the default profile.
Link

Please apply the fix.

We can’t legally look at the LXD main branch because of their licensing change.

But luckily, they just pushed a whole bunch of changes to their stable-5.0 branch which is still under a compatible license.

There are a lot of changes in there to review, some won’t make sense for Incus but a number of others will be useful additions/fixes.

I’ve sent an initial batch here: Import LXD changes from stable-5.0 by stgraber · Pull Request #988 · lxc/incus · GitHub

This does include the ZFS rounding fixes so that should take care of this issue.

1 Like