Hi, don't know if this is already possible or if this is the right place to suggest it. While e.g. preparing VM templates is sometimes very helpful to be able to reattach a VM disk to another VM. I would like to be able to select an unused disk and "attach it" to a different VM, giving a VM id or through a dropdown. Today I have to detach, rename the disk name (either zvol, lv, rbd or similar) and then qm rescan to make it work, unless I go ahead and edit the VM config file directly.
Another way would be that - in the storage view - I can see the current VM of the disk (including if the disk is orphaned), and then be able to reattach the disk to a different VM, obviously only if the disk is unused at the moment.
I understand that this might be more complicated by the fact that the disks are bound to the VM simply by the disk name (the VM id is embedded in the name itself) and that reattaching them might include a rename, which then has to be supported by all storage backends.
Ådne
Another way would be that - in the storage view - I can see the current VM of the disk (including if the disk is orphaned), and then be able to reattach the disk to a different VM, obviously only if the disk is unused at the moment.
I understand that this might be more complicated by the fact that the disks are bound to the VM simply by the disk name (the VM id is embedded in the name itself) and that reattaching them might include a rename, which then has to be supported by all storage backends.
Ådne