[pve-devel] VM snapshot problem

Alexandre DERUMIER aderumier at odiso.com
Fri Aug 24 12:23:41 CEST 2012


# mv vm-100-disk-1.raw vm-snap1-100-disk-1.raw 
# qemu-img create -f qcow2 -b vm-snap1-100-disk-1.raw vm-100-disk-1.raw 

>>got it? 

Yes got it !

But, use .qcow2 as extension is more clear I think.

qemu-img create -f qcow2 -b vm-snap1-100-disk-1.qcow2 vm-100-disk-1.raw 

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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 24 Août 2012 12:02:50 
Objet: RE: VM snapshot problem 

> >>I do not see a big problem - why do you think that does not work for 
> >>VM snapshot purposes? 
> 
> because raw file, is just a flat raw ....no metadatas, no copy on write. 
> Did I miss something ? 

Yes, you miss something ;-) 

Lets says you have the following file: 

vm-100-disk-1.raw 

You can make a snapshot with: 

# mv vm-100-disk-1.raw vm-snap1-100-disk-1.raw 
# qemu-img create -f qcow2 -b vm-snap1-100-disk-1.raw vm-100-disk-1.raw 

got it? 




-- 

-- 



	

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