[libvirt-users] is it possible to create a snapshot from a guest residing in a plain partition ?

Eric Blake eblake at redhat.com
Wed Apr 3 15:27:24 UTC 2019


On 4/3/19 9:44 AM, Lentes, Bernd wrote:
> Hi,
> 
> i can store the disk of a guest in a plain partition which isn't formatted.
> That's no problem, i did it already several times, although the promised speed increase didn't appear.
> 
> But is it possible to create from such a guest a snapshot in a .sn file using virsh ?

It is possible to create an external snapshot (an internal one is not
possible, unless you stored the guest disk as qcow2 format embedded
inside the partition rather than directly as raw format).  Note that
when you create an external snapshot, the partition becomes a read-only
point in time (no further updates to that partition), and your new
file.sn qcow2 wrapper file created by the snapshot operation stores all
subsequent guest writes. (Well, unless you decide to do a commit
operation to push the changes from the overlay back into the base file
and get rid of the overlay)


-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190403/558792ef/attachment.sig>


More information about the libvirt-users mailing list