Hello, I`m trying qcow2`s shapshot property last haft day. I catch strange problem after creating some snapshots.
Look:
VE is ruunning.
root@kvm2:/vz/images/121# qemu-img info vm-121-disk-1.qcow2
Now I`m creating snapshot..
Ok, lets Look what we gave.
Whats it is?
I repeat same procedure on various qcow2 files about five times and got very interesting things. =)
For example:
Of cause after this no one snapshot can be applies or deletes. =(
My pveversion:
root@kvm2:/vz/images/121# pveversion -v
If someone test this property plz get we know.
Thanks.
Look:
VE is ruunning.
root@kvm2:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
121 KVM_guest running 2048 15.00 14359
root@kvm2:/vz/images/121# qemu-img info vm-121-disk-1.qcow2
image: vm-121-disk-1.qcow2
file format: qcow2
virtual size: 15G (16106127360 bytes)
disk size: 13G
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 first 0 2011-09-26 13:40:04 00:00:00.000
Now I`m creating snapshot..
root@kvm2:/vz/images/121# qemu-img snapshot -c second vm-121-disk-1.qcow2
After command above I don`t get any errors.
Ok, lets Look what we gave.
root@kvm2:/vz/images/121# qemu-img info vm-121-disk-1.qcow2
image: vm-121-disk-1.qcow2
file format: qcow2
virtual size: 15G (16106127360 bytes)
disk size: 13G
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
2.1G 1985-01-19 14:02:013435884:05:38.561
0 1970-01-01 03:00:00 00:00:00.000
Whats it is?
I repeat same procedure on various qcow2 files about five times and got very interesting things. =)
For example:
root@kvm2:/vz/images/121# qemu-img snapshot -l vm-121-disk-1.qcow2
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
���;���6�*�6�*�6�*�7�*�7�*�7�*�7�*���� %*.1������������V�������"��$��(��� �����v�s������������������������������������������
512M 1984-08-15 05:19:053164766:48:20.747
Of cause after this no one snapshot can be applies or deletes. =(
My pveversion:
root@kvm2:/vz/images/121# pveversion -v
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.35-2-pve
proxmox-ve-2.6.35: 1.8-13
pve-kernel-2.6.35-2-pve: 2.6.35-13
qemu-server: 1.1-32
pve-firmware: 1.0-13
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.28-1pve5
vzdump: 1.2-15
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6
If someone test this property plz get we know.
Thanks.