[libvirt-users] libvirt, snapshots, LVM, and existing VMs

Osier Yang jyang at redhat.com
Sun Jan 23 11:41:33 UTC 2011

于 2011年01月23日 16:01, Casey Link 写道:
> Hello,
> I am running libvirt 0.8.3 with a couple VMs using a LVM VG that I had
> previously setup on my host. I did not use the storage pool
> functionality of libvirt to create the VG in the first place
> ('pool-list' is empty).
> Now I want to be able to take snapshots of the VMs. Having read this
> previous post [1] on the mailing list, I gather that libvirt does
> indeed support taking snapshots of VMs on an LVM. I suppose I need to
> create storage pool that includes the<backingStore>  element. However,
> I am not sure how to go about creating this pool and making my
> existing VMs utilize it.
> Is what I am trying to do even possible? If so, what is the proper way
> to go about doing it?

How to create the logical pool, refer to:

How to create the logical volume with backing store, refer to:

Hope it helps.

> Best,
> Casey Link
> [1] http://www.redhat.com/archives/libvir-list/2009-February/msg00196.html
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

More information about the libvirt-users mailing list