weizhouapache commented on PR #8911: URL: https://github.com/apache/cloudstack/pull/8911#issuecomment-2165254429
I agree with @borisstoyanov full clone will not save space, especially there are many vms having the same base image. this is probably why vms are deployed with linked clone, not full clone. it should be good to have a global setting to let users to determine if linked clone or full clone the volume during vm migration. If linked clone is chosed, it is also feasible (I've done it some years ago) - copy the base image (template) from the original storage pool to new storage pool, if it is not present on the new pool - live-migrate the vm - change the base image of the volume after migration , by "qemu-img rebase -u -b <backingfile>" - just note the base image might be removed during vm migration by storage cleanup. be sure base image are not removed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org