Displaying 20 results from an estimated 3000 matches similar to: "live storage migration using blockcopy"
2013 Jun 10
2
Re: virsh snapshot-create and blockcopy
Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>> Hello.
>>
>> I just tried the following:
>>
>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
>> virsh snapshot-create gentoo-template
>> virsh undefine gentoo-template
>
> Wait - is that really the command you used after
2013 Jun 10
1
Re: virsh snapshot-create and blockcopy
Am 10.06.13 10:40, schrieb Kashyap Chamarthy:
> On 06/10/2013 01:20 PM, Thomas Stein wrote:
>> Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
>>> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>>>> Hello.
>>>>
>>>> I just tried the following:
>>>>
>>>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
2013 Jun 09
2
virsh snapshot-create and blockcopy
Hello.
I just tried the following:
virsh dumpxml --security-info gentoo-template > gentoo-template.xml
virsh snapshot-create gentoo-template
virsh undefine gentoo-template
virsh blockcopy gentoo-template vda
/opt/virt-backup-blockcopy/gentoo-template/gentoo-template.qcow2 --wait
--verbose --finish
virsh define gentoo-template.xml
virsh snapshot-delete gentoo-template --current
But if i
2013 Jul 02
2
Re: backup procedure using blockcopy
> virsh dumpxml --security-info dom > dom.xml
> virsh undefine dom
Hello.
Someone was talking about this (undefining the VM) would not be
neccessary anymore when qemu-1.5 has been released. Is that true?
> virsh blockcopy dom vda /path/to/backup-vda
> polling loop - check periodically until 'virsh blockjob dom vda'
> shows 100% completion
> virsh suspend
2013 Jul 02
2
Re: backup procedure using blockcopy
Am 02.07.13 15:42, schrieb Eric Blake:
> On 07/02/2013 06:55 AM, Thomas Stein wrote:
>>
>>> virsh dumpxml --security-info dom > dom.xml
>>> virsh undefine dom
>>
>> Hello.
>>
>> Someone was talking about this (undefining the VM) would not be
>> neccessary anymore when qemu-1.5 has been released. Is that true?
>
> Undefining
2014 Dec 23
2
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On Mon, Dec 22, 2014 at 03:50:58PM -0700, Eric Blake wrote:
> On 12/22/2014 03:27 PM, Gary R Hook wrote:
> > I am experimenting with the blockcopy command, and after figuring out
> > how to integrate qemu-nbd, nbd-client and
> > dumpxml/undefine/blockcopy/define/et. al. I have one remaining question:
> >
> > What's the point?
>
> Among other uses, live
2015 Jan 08
2
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On Thu, Jan 08, 2015 at 01:44:58PM -0600, Gary R Hook wrote:
> On 12/24/14 4:42 AM, Kashyap Chamarthy wrote:
> >On Tue, Dec 23, 2014 at 12:38:57PM -0600, Gary R Hook wrote:
> >
> >[. . .]
> >
> >In my case, the block device is a QCOW2 disk image file. If I boot
> >without using the disk image file which has the operating system, the
> >domain will fail
2015 Jan 08
2
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On 01/08/2015 12:44 PM, Gary R Hook wrote:
> I've learned how to use the blockcopy command to create a local copy in
> a simple disk file:
>
> virsh dumpxml my_domain > my_domain.xml
> virsh undefine my_domain
> virsh blockcopy --domain my_domain vda $PWD/dsk.copy.qcow2 --wait
> --verbose --finish
> virsh define my_domain.xml
>
> and the resulting copy in
2014 Dec 22
7
Using virsh blockcopy -- what's it supposed to accomplish?
I am experimenting with the blockcopy command, and after figuring out
how to integrate qemu-nbd, nbd-client and
dumpxml/undefine/blockcopy/define/et. al. I have one remaining question:
What's the point?
The "replication" disk file is not, from what I can ascertain, bootable.
I expect this operation to create a pristine copy of my source qcow2
file (at a given point in time)
2014 Aug 01
2
Live blockcopy onto storage pool that is an NFS mount?
Hello,
I am running qemu-kvm 1.4.0 and libvirt 1.0.2 on Ubuntu 12.04. I have two NFS
mountpoints configured as two separate pools in virsh:
<pool type='dir'>
<name>nfs1</name>
<uuid>419d799c-2493-6ebc-6848-53b0919e7bad</uuid>
<capacity unit='bytes'>6836057014272</capacity>
<allocation unit='bytes'>0</allocation>
2015 Oct 14
2
virsh blockcopy without undefine
2013 Jun 10
0
Re: virsh snapshot-create and blockcopy
On 06/10/2013 01:20 PM, Thomas Stein wrote:
> Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
>> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>>> Hello.
>>>
>>> I just tried the following:
>>>
>>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
>>> virsh snapshot-create gentoo-template
>>> virsh undefine
2015 Jan 16
3
How do you force a VM reboot (when its KPd etc) without interrupting a blockcopy?
My question is this:
If you have an ongoing blockcopy (drive-mirror) of a running transient VM, and the VM kernel panics, can you restart the VM without interrupting the ongoing blockcopy?
A virsh reboot won't work since if the VM is kernel panicked, its not going to respond to ACPI requests.
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
2015 Oct 14
0
Re: virsh blockcopy without undefine
On 10/13/2015 09:46 PM, Nathan Shearer wrote:
> I have a script that performs a backup with the following steps:
>
> virsh dumpxml --inactive "$DOMAIN" > "$TMP/${DOMAIN}.xml" && \
> virsh dumpxml --inactive "$DOMAIN" > "$DESTINATION_XML" && \
> virsh undefine "$DOMAIN" && \
2013 Jun 10
0
Re: virsh snapshot-create and blockcopy
On 06/09/2013 02:46 PM, Thomas Stein wrote:
> Hello.
>
> I just tried the following:
>
> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
> virsh snapshot-create gentoo-template
> virsh undefine gentoo-template
Wait - is that really the command you used after "snapshot-create" ?
Because: You cannot undefine a guest with a snapshot without
2013 Jul 02
0
Re: backup procedure using blockcopy
On 07/02/2013 06:55 AM, Thomas Stein wrote:
>
>> virsh dumpxml --security-info dom > dom.xml
>> virsh undefine dom
>
> Hello.
>
> Someone was talking about this (undefining the VM) would not be
> neccessary anymore when qemu-1.5 has been released. Is that true?
Undefining the VM will not be necessary after two things happen:
1. qemu supports persistent
2015 Jan 08
2
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On 12/23/2014 05:24 PM, Gary R Hook wrote:
> I read that article.
>
> Now shut down the domain (post-pivot) which is using the new disk file,
> and start it up, without using a block device. This is the part that no
> one seems to write about, nor do I see that in your example. But thank
> you very much for your help and your articles; very much appreciated.
What do you mean by
2015 Jan 08
0
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On 12/24/14 4:42 AM, Kashyap Chamarthy wrote:
> On Tue, Dec 23, 2014 at 12:38:57PM -0600, Gary R Hook wrote:
>
> [. . .]
>
> In my case, the block device is a QCOW2 disk image file. If I boot
> without using the disk image file which has the operating system, the
> domain will fail to boot, no?
>
> I see you're playing with NBD disks. I'll admit, I haven't
2013 Dec 20
2
blockcopy for libvirt and version compatibility
I'm currently running:
virsh --version
1.0.2
libvirtd --version
libvirtd (libvirt) 1.0.2
I have a couple questions.
1. Can I upgrade my libvirt.so version to use with an older libvirtd? In
other words, does the versions of libvirt and libvirtd need to be in lock
step?
2. I'm able to use virsh blockcopy, but I want to do it programmatically
via C. I looked through the API and was not