Discussion:
[PVE-User] Cloning a running VM - is it safe?
Klaus Darilion
2018-09-04 13:55:37 UTC
Permalink
Hi!

When I clone the running VM, is it in the brackground doing a temp.
snapshot which gets cloned? (if relevant, the source VM is using a ZFS
volume)

I have not found this info the docs.

Thanks
Klaus
Gilberto Nunes
2018-09-04 14:14:12 UTC
Permalink
Hi

It's safe enough.
Never had trouble with that!

---
Gilberto Nunes Ferreira

(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram

Skype: gilberto.nunes36
Post by Klaus Darilion
Hi!
When I clone the running VM, is it in the brackground doing a temp.
snapshot which gets cloned? (if relevant, the source VM is using a ZFS
volume)
I have not found this info the docs.
Thanks
Klaus
_______________________________________________
pve-user mailing list
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Alexandre DERUMIER
2018-09-04 14:39:28 UTC
Permalink
live cloning don't use snapshot, but use qemu drive mirror (like move disk),
but at the end, don't do the switch from current disk to new disk.

It should work in almost all cases, but be carefull, I don't think that
pending write in memory are flushed to new disk.

(It's like you clone it, and at the end, you poweroff it).

so maybe some writes just before the end can be lost.


----- Mail original -----
De: "Klaus Darilion" <***@pernau.at>
À: "proxmoxve" <pve-***@pve.proxmox.com>
Envoyé: Mardi 4 Septembre 2018 15:55:37
Objet: [PVE-User] Cloning a running VM - is it safe?

Hi!

When I clone the running VM, is it in the brackground doing a temp.
snapshot which gets cloned? (if relevant, the source VM is using a ZFS
volume)

I have not found this info the docs.

Thanks
Klaus
_______________________________________________
pve-user mailing list
pve-***@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Klaus Darilion
2018-09-04 15:14:26 UTC
Permalink
Post by Alexandre DERUMIER
live cloning don't use snapshot, but use qemu drive mirror (like move disk),
but at the end, don't do the switch from current disk to new disk.
Thanks, that was the info I was looking for - how it is done technically.

Klaus
Alexandre DERUMIER
2018-09-04 15:19:14 UTC
Permalink
Note that it's also possible,

to clone a snapshot.


(Take a snapshot, then clone vm and choose snapshot instead 'current').

I this case, it should flush the pending write in the snapshot if you have qemu agent installed.



----- Mail original -----
De: "Klaus Darilion" <***@pernau.at>
À: "proxmoxve" <pve-***@pve.proxmox.com>
Envoyé: Mardi 4 Septembre 2018 17:14:26
Objet: Re: [PVE-User] Cloning a running VM - is it safe?
Post by Alexandre DERUMIER
live cloning don't use snapshot, but use qemu drive mirror (like move disk),
but at the end, don't do the switch from current disk to new disk.
Thanks, that was the info I was looking for - how it is done technically.

Klaus
_______________________________________________
pve-user mailing list
pve-***@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Loading...