qm migrate --online --with-local-disks -> is copying block level

andy77

Renowned Member
Jul 6, 2016
248
14
83
41
Hello @ all,

I am wondering if it is really nececerry to use block-level copying on "qm migrate --online --with-local-disks"?

Because having volumes with 400GB for example and only a couple of gigs are used inside (thin provisioning), takes of course long to copy on block-level instead copying only the file stream.

With zfs send | zfs receive, zfs is copying only the file stream wich of course, in my example, takes just a couple of seconds.

Regards
 
Hi,

zfs send/receive is can't be used when the guest is online.
I am wondering if it is really nececerry to use block-level copying on "qm migrate --online --with-local-disks"?
What is the working alternative?
 
Hi Wolfgang,

zfs send/receive is can't be used when the guest is online.
aha, I didn't knew that.


I though it is possible this way:
Code:
take a initial snapshot -> zfs send the snapshot -> suspend machine -> take a final snapshot -> zfs send incremental the final snapshot -> unsuspend machine on new node.
 
We have discussed this way in the past and we will not implement this semi-online mode.