Create RBD image based on another image

tincboy

Renowned Member
Apr 13, 2010
466
6
83
I've build a cloned VM using linked clone from Proxmox interface, but consider when I want to rebuild that VM, I will need to remove the primary disk of that VM and add an other one which is based on an other base image, ( for example changing the OS of that VM from Ubuntu to CentOS )
Is there any qm or qemu or rbd command to do that?
 
I've build a cloned VM using linked clone from Proxmox interface, but consider when I want to rebuild that VM, I will need to remove the primary disk of that VM and add an other one which is based on an other base image, ( for example changing the OS of that VM from Ubuntu to CentOS )
Is there any qm or qemu or rbd command to do that?
AFAIU you want to move virtual disks between VMs - correct? Possible, but you have to to this by editing the corresponding .conf files. those configuration changes will have only effect after the next start of a VM from idle state. If you are not careful and assign a virtual disk to more VMs running at the same time you will run into trouble. So be aware of the risk!