[Qemu-devel] Internal Snapshot disappear after write operation
From:
PANKAJ RAWAT
Subject:
[Qemu-devel] Internal Snapshot disappear after write operation
Date:
Thu, 22 Mar 2012 10:29:20 +0530
Hi all,
i am using qcow2 internal snapshot , but it seems they are not working fine
Now to explain my scenario, I created qcow2 internal snapshot (qcow2 VM is on).
Now i list the snapshot -bash-4.1# qemu-img snapshot -l guestqcow2 Snapshot list: ID TAG VM SIZE DATE VM CLOCK 0 1970-01-01 09:00:00 00:00:00.000
0 1970-01-01 09:00:00 00:00:00.000 0 1970-01-01 09:00:00 00:00:00.000 0 1970-01-01 09:00:00 00:00:00.000
1 on3 0 2012-03-22 13:45:26 00:00:00.000 2 on4 0 2012-03-22 13:51:28 00:00:00.000
upto this point it is fine. But now when i write something on the vm using dd command
Then -bash-4.1# qemu-img snapshot -l guestqcow2 Snapshot list: ID TAG VM SIZE DATE VM CLOCK 0 1970-01-01 09:00:00 00:00:00.000
0 1970-01-01 09:00:00 00:00:00.000 0 1970-01-01 09:00:00 00:00:00.000 0 1970-01-01 09:00:00 00:00:00.000
0 1970-01-01 09:00:00 00:00:00.000 0 1970-01-01 09:00:00 00:00:00.000
all my snapshots are gone. This is not a correct behavior
can any one explain why it is happening ? and how can i fix it ?