Hi,
Could you please explain why qcow2 image are copied instead of cloned (backing file), situation is as follows:
- Installed OpenNebula 5.12.0.3, front-end and node - same server.
- Created Datastore ID=100 with back-end qcow2 (TM_MAD=qcow2)
- System datastore ID=0, no changes (TM_MAD=ssh)
- Uploaded Windows qcow2 image to the datastore 100.
- Created template.
- When I instantiate template, qcow2 file is copied from datastore 100 to the System datastore. Copying take lot of time because image file is 50GB.
Datastore ID=100 contains following attributes:
ALLOW_ORPHANS NO
CLONE_TARGET SYSTEM
CLONE_TARGET_SSH SYSTEM
DISK_TYPE FILE
DISK_TYPE_SSH FILE
DRIVER qcow2
DS_MAD fs
LN_TARGET NONE
LN_TARGET_SSH SYSTEM
SAFE_DIRS /mnt
TM_MAD qcow2
TM_MAD_SYSTEM ssh
TYPE IMAGE_DS
Could you please explain why qcow2 image is copied to the system datastore?
I expect cloning - fast VM startup from backing qcow2 file. How to achieve cloning?