[libvirt] [RFC] Live disk snapshot API

Eric Blake eblake at redhat.com
Thu Jan 6 15:34:05 UTC 2011


On 01/06/2011 07:37 AM, Nicolas Sebrecht wrote:
> The 06/01/11, Jiri Denemark wrote:
> 
>> Disk snapshot API needs to be general and flexible enough to support various
>> storage and snapshot methods. Examples of what can be used for creating disk
>> snapshots are: QEMU qcow2 snapshots, LVM snapshots, filesystems with snapshot
>> support (btrfs, zfs, ...), enterprise storage.
>>
>> Moreover, method used to create disk snapshot does not have to be determined
>> by disk type. One can have a qcow2 disk stored on btrfs inside lvm logical
>> volume; snapshot of such disk can be done at any of the three levels.
> 
> What would be the value of this API over a snapshot of the filesystem
> done from inside the domain?

Management:  It is easier to have your management software contact the
hosts of each VM to trigger the snapshot, rather than having to know how
to talk to each VM to have the VM do a disk snapshot.

Destination: a filesystem snapshot taken from within the domain can only
target virtual disks also exposed to the domain.  A disk snapshot taken
from the host, on the other hand, can place the snapshot in external
storage not visible from within the domain.

probably other advantages as well

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110106/a5551876/attachment-0001.sig>


More information about the libvir-list mailing list