incus 6.14: After importing an iso volume:
incus storage volume import default debian-12.11.0-amd64-netinst.iso debian12-netinst --type=iso
Trying to delete it:
incus storage volume delete default custom/debian12-netinst
Gives the following error:
Error: Failed deleting subvolume "/var/lib/incus/storage-pools/default/custom/default_debian12-netinst.iso": Failed to run: btrfs subvolume delete /var/lib/incus/storage-pools/default/custom/default_debian12-netinst.iso: exit status 1 (ERROR: Not a Btrfs subvolume: Invalid argument)
root@dakara:~# incus storage create foo btrfs
Storage pool foo created
root@dakara:~# incus storage volume import foo /home/stgraber/Downloads/virtio-win-0.1.271.iso virtio --type=iso
root@dakara:~# incus storage volume delete foo virtio
Storage volume virtio deleted
root@dakara:~# incus storage delete foo
Storage pool foo deleted
I know we fixed a volume naming issue related to ISO recently so there’s a good chance that your issue was already fixed in the main branch and that will be in 6.15 next week.
Thanks. That sounds positive.
I’ll look out 6.15, test and get back to you.