Skip to contentSkip to conversation

wrong command on snapshot wiki

Qemu-devel [email protected] 2 participants 2 messages Jan 25, 2015 – Jan 26, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

I am not 100% sure whether this is the right place to raise this issue. Maybe you can forward this to right person
|
I have the feeling this wikipage >>> http://wiki.qemu.org/Documentation/CreateSnapshot is wrong. I think the decription and the posted command for creating snapshots [||qemu-img create -f qcow2 -b centos-cleaninstall.img snapshot.img|] |is actually describing copy-on-write (or overlay) images. And I think this is not the same thing

|||As far as I know such a command would creat a copy-on-write image and not a snapshot|. On the german debianforum.de I got another suggestion to vreate snaptshots which I have not tested yet, but sounds more likely to be correct to me

qemu-img snapshot -c [snapshot_name] [base_name]
|

#2 lore raw
Quoted 9 lines · On 01/25/2015 04:17 PM, [email protected] wrote:

I am not 100% sure whether this is the right place to raise this issue. Maybe you can forward this to right person
|
I have the feeling this wikipage >>>
http://wiki.qemu.org/Documentation/CreateSnapshot is wrong. I think the decription and the posted command for creating snapshots [||qemu-img create -f qcow2 -b centos-cleaninstall.img snapshot.img|] |is actually describing copy-on-write (or overlay) images. And I think this is not the same thing

That is the procedure for creating external snapshots (the original file is the snapshot, and the newly created overlay stores the delta).

Quoted 7 lines
|||As far as I know such a command would creat a copy-on-write image and
not a snapshot|. On the german debianforum.de I got another suggestion

to vreate snaptshots which I have not tested yet, but sounds more likely to be correct to me

qemu-img snapshot -c [snapshot_name] [base_name]

That is the procedure fore creating internal snapshots (a single file holds both the snapshot and all changes since the snapshot).

Both methods have their benefits and drawbacks, but right now, there is more work being done with external snapshots than with internal snapshots.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org