yes, to have all these features without restrictions, you currently need qcow2 on a shared storage or Ceph.In order to have replication and immediate migration - zfs storage is a must.
In order to have "real" unrestricted snapshots and vm cloning feature - qcow2 storage is necessary.
There is an open feature request for cloning from ZFS snapshots, but there are some caveats and nobody is actively working on it AFAIK.Did I miss something?
Are there any plans to combine these features?
AFAIK, there is no similar replication mechanism (with incremental snapshot support) implemented for qcow2 images at the moment. Could be implemented in principle with something like mirroring with bitmaps and persistent bitmaps, but still would require spawning a QEMU instance on the target just to do replication (which is pretty costly). There is no concrete plan at the moment.having the same issue too.
I would like to understand the problem, since:
qcow supports snapshotting (even better as zfs),
but the replication is not possible over qcow?
What is the restriction why the replication on qcow is not working at all?
The workaround with a shared storage will bringing the overall reliability down of the full system for the sake of a a failure on the shared storage.
The upper layer managing replication jobs/replication snapshot names/times, etc. can just be re-used.Cold standby replication
My maybe too simple assumption for a simple solution via qcow2:
- run filesystem
- create qcow2 snapshop on now state, let's name it "prxReplUUID"
- wait for finishing the replication
- replicate the snapshot prxReplUUID
- on success delete snapshot prxReplUUID
can you be plz clear on your queries?The upper layer managing replication jobs/replication snapshot names/times, etc. can just be re-used.
But AFAIK there is no support for this for qcow2 on the storage layer. What exact commands would you use to achieve the replication for a given qcow2 snapshot on the storage layer? ZFS has send/receive with support for sending incremental snapshots, I'm not aware of anything similar for qcow2.
if you refer here that there is no replication option on top of an existing snapshot, yes, else I assume your developer would have implemented it?But AFAIK there is no support for this for qcow2 on the storage layer.
Yes, you need to somehow move the actual disk changes from the source image to the target image, while the VM is running, in a way that is consistent and incremental, i.e. only move the difference between the previous and new replication snapshot.or do you ask how I would like to run the replication ontop of an existing snapshot?
We use essential cookies to make this site work, and optional cookies to enhance your experience.