Displaying 20 results from an estimated 5000 matches similar to: "virsh snapshot-create and 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 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 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
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
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)
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
2014 Feb 05
4
Re: Can I move the disk image of the guest while it is running?
Thank you Eric,
On 2014-02-05 17:23, Eric Blake wrote:
> Yes, live storage migration is possible; although at the moment, qemu is
> lacking a way to restart the operation if it fails midstream, so libvirt
> only allows the operation if you are willing to temporarily make your
> guest transient.
What does this mean? Will I loose anything if - for example - there is
not enough space on
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
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
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
2020 Mar 16
1
live storage migration using blockcopy
Hello,
I'm seeking the solution to live storage migration using blockcopy.
Previously, the "virsh undefine" is required before blockcopy.
https://www.redhat.com/archives/libvirt-users/2015-October/msg00027.html
QEMU has "block-dirty-bitmap-*" operations now, are there steps for
the live storage migration using blockcopy without undefine?
By the way, why's the purpose
2014 Jul 02
7
virsh blockcopy: doesn't seem to flatten the chain by default
Versions
--------
(Libvirt locally built from a recent git commit -ec7b922):
$ rpm -q libvirt-daemon-kvm qemu-system-x86
libvirt-daemon-kvm-1.2.6-1.fc20.x86_64
qemu-system-x86-2.0.0-1.fc21.x86_64
Test
----
[All images are qcow2 files.]
We have this simple chain:
base <- snap1
Let's quickly examine the contents of 'base' and 'snap1' images:
2015 Oct 14
2
virsh blockcopy without undefine
2014 Dec 24
0
Re: Using virsh blockcopy -- what's it supposed to accomplish?
On 12/23/14 6:17 AM, Kashyap Chamarthy wrote:
> 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:
>>>
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.
2013 Oct 02
2
Snapshots: Where they are stored and how to use them?
Firstly I'd like to learn where a snapshot is stored once it has been
made. I understand that the principle is that when changes occur in
the VM, the difference is written to the snapshot, thus recording the
differences between the date/time of the snapshot and the current
value of the VM. Is that a correct assessment of the process?
If that is indeed so, can I take regular snapshots and
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
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" && \