kvm qcow snapshot

informant

Renowned Member
Jan 31, 2012
780
10
83
Hi all,

if i make a snapshot of a qcow vm, is it a file on harddisc, if yes where i can find it, how many space use it and how can i set a limit and where can i configure the save path? Or is it only a restore point without using backupspace? what is, if i have configure 0 backups, can i create snapshots?

I hope you can help me, thanks and regards
 
Hi, snapshots are internal in the disk qcow2 file.
It don't use space at the moment of the snapshot. But new writes after snasphot take space.
(If you rewrite the full disk after a snasphot, you'll have a file twice bigger.

(backups are not related to snasphots)
 
Hi, thansk for your answer. a snapshot used also the space of vm file and not other. thanks and happy new yearr

regards
 
Live snapshots of a running vm will create a external file to store the ram and machine state. This is stored in the same directory as the virtual hd.

Sent from my MT27i using Tapatalk
 
On the contrary. The original image is converted to raw and any further write to the image is done to a new file in qcow2 format.
file vm-140-state-clean.raw
vm-140-state-clean.raw: QEMU suspend to disk image
file vm-140-disk-1.qcow2
vm-140-disk-1.qcow2: QEMU QCOW Image (v2), 6442450944 bytes
 
On the contrary. The original image is converted to raw and any further write to the image is done to a new file in qcow2 format.


Eh? not sure what you mean - not seeing this at all. On my nfs qcow2 vm, disk only snapshot are nearly instant and are stored internal on the qcow2 disk. Nothing is converted to raw.
 
Eh? not sure what you mean - not seeing this at all. On my nfs qcow2 vm, disk only snapshot are nearly instant and are stored internal on the qcow2 disk. Nothing is converted to raw.

The external raw file is only to save the vm state (memory), if you want to rollback to a running vm. but it's optionnal.
Disk data snasphot is internal in the qcow2 file.
 
Nice informations. But can i configure a max of snapshots, if yes, where?

regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!