search for: virdomainfsfreeze

Displaying 7 results from an estimated 7 matches for "virdomainfsfreeze".

2014 Aug 06
2
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
...uests before taking the snapshot in each of > them. Taking an external disk snapshot works while a guest is paused. > I need take live snapshot for multiple VMs at the same time > > > > > Is there only way that I turn to freeze/thaw functions? > > Guest freeze/thaw (virDomainFSFreeze) only works on a live guest. So > what you will have to do is: > > virDomainFSFreeze(vm1, ...) > virDomainFSFreeze(vm2, ...) > virDomainSuspend(vm1) > virDomainSuspend(vm2) > virDomainSnapshotCreateXML(vm1, ...) > virDomainSnapshotCreateXML(vm2, ...) > virDomainResume(vm...
2014 Aug 06
2
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
yes, I got your point, thanks very much Eric. If I want to take a distributed snapshot, which need pause all the VMs and then take snapshot, how can I control the pause for all the VMs? Is there only way that I turn to freeze/thaw functions? and freeze/thaw only for file systems, not for the whole guest, am I right? Thanks a lot! Best, Yuanzhen On Wed, Aug 6, 2014 at 11:35 AM, Eric Blake
2014 Nov 14
2
Re: Problem with the use of domfsfreeze mountpoint option
On 11/12/14 22:17, Eric Blake wrote: > On 11/12/2014 10:24 AM, Michal Privoznik wrote: ... >> Although, I see a way that we could get something reasonable here. If >> qemu would tell us whenever somebody (dis-)connects (from)to the virtio >> channel. That way we could query the qemu-ga capabilities and make good >> decisions. And whenever we see a disconnect, we may
2014 Aug 06
0
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
...of all their storage at the same point in time? Then it is up to you to manually pause all the guests before taking the snapshot in each of them. Taking an external disk snapshot works while a guest is paused. > > Is there only way that I turn to freeze/thaw functions? Guest freeze/thaw (virDomainFSFreeze) only works on a live guest. So what you will have to do is: virDomainFSFreeze(vm1, ...) virDomainFSFreeze(vm2, ...) virDomainSuspend(vm1) virDomainSuspend(vm2) virDomainSnapshotCreateXML(vm1, ...) virDomainSnapshotCreateXML(vm2, ...) virDomainResume(vm1) virDomainResume(vm2) virDomainFSThaw(vm1,...
2014 Aug 06
0
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
On 08/06/2014 11:17 AM, Yuanzhen Gu wrote: >> Guest freeze/thaw (virDomainFSFreeze) only works on a live guest. So >> what you will have to do is: >> >> virDomainFSFreeze(vm1, ...) >> virDomainFSFreeze(vm2, ...) >> virDomainSuspend(vm1) >> virDomainSuspend(vm2) >> virDomainSnapshotCreateXML(vm1, ...) >> virDomainSnapshotCreateXML(v...
2014 Nov 17
0
Re: Problem with the use of domfsfreeze mountpoint option
As stated in the below link from libvirt-list, https://www.redhat.com/archives/libvir-list/2014-May/msg00033.html > OpenStack cinder provides these storages' snapshot feature, but it cannot > quiesce the guest filesystems automatically for now. > > This patchset adds virDomainFSFreeze()/virDomainFSThaw() APIs and virsh > domfsfreeze/domfsthaw commands to enable the users to freeze and thaw > domain's filesystems cleanly. > Do these API's ( commands ) also push the dirty buffer to the disk, or it has to be done separately before freezing, to take snapshots. If...
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo