when I create a custom block device on my default ZFS pool with incus storage volume create incus myblockdevice --type=block size=400GB
and attach it with incus storage volume attach incus myblockdevice win11vm
to my Win11 VM, the VM fails to start with the following strange error:
Error: Failed setting up device via monitor: Failed adding block device for disk device “myblockdevice”: Failed adding device: The serial number can’t be longer than 20 characters when it is also used as the default for device_id
Try incus info --show-log win11vm for more info
Other devices (local path from the hypervisor, seperate partition) show up just fine in the VM. What am I doing wrong? Can I set serial number or device_id somehow? Did not find anything about this.
Thanks for any pointers!
Christoph
Okay, I investigated things further. Seems to be some sort of corner case as the error is related to the name of the block device. myblockdevice was just an example, which happens to work on 6.8 (and eventually worked on 6.7, I can’t test anymore).