search for: virdomainfsthaw

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

2014 Aug 06
2
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
...> 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, ...) > virDOmainFSThaw(vm2, ...) > I see, thanks. > > However, I honestly don't know why you think you need disk snapshots > from the same point in time across multiple VMs, though. you suggested that external disk-only snapshot, libvirt will freeze/thaw before/af...
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 Aug 06
0
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
...w (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, ...) virDOmainFSThaw(vm2, ...) However, I honestly don't know why you think you need disk snapshots from the same point in time across multiple VMs, though. Compare it to bare metal - how would you take a snapshot of multiple hosts? Either they are independent storage (and it doesn'...
2014 Aug 06
0
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
...t; >> virDomainFSFreeze(vm1, ...) >> virDomainFSFreeze(vm2, ...) >> virDomainSuspend(vm1) >> virDomainSuspend(vm2) >> virDomainSnapshotCreateXML(vm1, ...) >> virDomainSnapshotCreateXML(vm2, ...) >> virDomainResume(vm1) >> virDomainResume(vm2) >> virDomainFSThaw(vm1, ...) >> virDOmainFSThaw(vm2, ...) >> > > I see, thanks. > >> >> However, I honestly don't know why you think you need disk snapshots >> from the same point in time across multiple VMs, though. > > > you suggested that external disk...
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 Nov 17
0
Re: Problem with the use of domfsfreeze mountpoint option
...ted 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 we don't speci...
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