[pve-devel] kvm disk template implementation ideas

Alexandre DERUMIER aderumier at odiso.com
Thu Aug 23 14:41:16 CEST 2012


>>We also want to restore/start a VM using an existing snapshot as base. How will 
>>that work? 

Need to be tested, but basicly:

qcow2
------
# qemu-img snapshot -c snap3 image1 
# qemu-img snapshot -a snap2 image1 

note : snap3 exist after snap2 rollback


rbd
---
# rbd snap create --snap snap3 image1
# rbd snap rollback --snap snap2 image1

note : snap3 exist after snap2 rollback


nexenta:
-------
create snap3
rollback to snap2

note: snap3 is destroyed


sheepdog
---------
don't have find command. 


I don't know why qcow2/rbd have the snap3 after rollback, I'll test them.


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 23 Août 2012 13:24:56 
Objet: RE: [pve-devel] kvm disk template implementation ideas 

> >>Can we delete such snapshot without problems, or do we need some kind 
> >>of snapshot merging (I guess we want to avoid that if possible)? 
> 
> Yes, I think we can simply delete snapshot without need to merge, as they 
> use copy on write (maybe not lvm?) 

We also want to restore/start a VM using an existing snapshot as base. How will 
that work? 



-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 



More information about the pve-devel mailing list