Displaying 20 results from an estimated 2000 matches similar to: "Pivot without copy"
2015 May 19
3
Re: Pivot without copy
Hi Eric,
Thanks for the info. I see the value in this, but it isn't quite what I was
looking for. Basically what I want to do is to switch between snapshots
quickly. For instance, I am currently working on designing a HA SQL
implementation with failover. So right now I have 5 VM's running postgresql
as a replication group. I am trying a lot of different things and often
have to take a
2015 May 19
0
Re: Pivot without copy
On 05/19/2015 12:52 PM, Mathew Moon wrote:
> Hi,
>
> Is it possible to "pivot" to a new image without doing blockcopy or
> blockpull?
No. Qemu does not support arbitrary reopening of a backing chain yet
(even with the 'change-backing-file' QMP command, that is just rewriting
contents of the qcow2 metadata, and not actually reopening the chain).
The only way to pivot
2015 May 19
0
Re: Pivot without copy
It seems that my version of libvirt does not support the flags that yours
does either. I have the latest version from the Ubuntu repos and am running
14.04. What version are you running and do you know if these features
depend on libvirt, or qemu-img to be upgraded?
=============================================================================================
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
2013 Feb 01
1
Migrate VM's to different storage pool?
I am searching for directions for using live block migration to copy
running vm's to a different storage pool.
Example: VM1 running on Host1, the image(s) for VM1 are stored in
/var/lib/libvirt/images. I'd like to copy the disk image(s) that VM1
is using to /nfs/images. Without stopping/pausing/powering down the
VM.
Do you have any examples or documentation of how to accomplish this
2013 Feb 27
1
Deleting and coalescing live snapshots
All,
I have a service that takes new live KVM snapshots Si regularly, keeps a
fixed number N (Si ,..,Si-N+1), and therefore needs to delete Si-N in
this cycle.
Until libvirt includes support for this capability that is said to be
available in qemu, what is a safe workflow to delete old live KVM
snapshots w/o losing data. Do I need to pause/shut down the VM?
The development environment is
2014 Feb 06
2
Re: Can I move the disk image of the guest while it is running?
----- Original Message -----
> From: "Eric Blake" <eblake@redhat.com>
> To: "Gergely Horváth" <gergely.horvath@inepex.com>, libvirt-users@redhat.com
> Sent: Wednesday, February 5, 2014 4:47:47 PM
> Subject: Re: [libvirt-users] Can I move the disk image of the guest while it is running?
>
> On 02/05/2014 02:54 PM, Gergely Horváth wrote:
> >
2014 Oct 13
2
Re: KVM incremental backup using CBT
Am 13.10.14 16:25, schrieb Eric Blake:
> On 10/13/2014 03:56 AM, Thomas Stein wrote:
>> Hello.
>>
>>> blockcommit vm1 vda --active --verbose --pivot
>>
>> That's where libvirt stops working at the moment, right?
>>
>> virsh # blockcommit puppet-test vda --active --verbose --pivot
>> error: unsupported flags (0x4) in function
2013 Mar 04
1
Live external snapshot coalescing
On standard Fedora 18 I was attempting blockcommit on a *live* VM,
libvirt said it was not supported, so I tried fedora-virt-preview as
recommended.
We found a problem with qemu 1.4, there seems to be an acknowledged bug,
a missing library.
On a different system we loaded Fedora 18, and then pulled qemu (1.3)
and libvirt (1.0.2) from rawhide.
I tried blockcommit with domain shut down, it said
2014 Jan 29
4
Looks like blockpull does not accept a subset of the entire chain of backing files
Hello
If I'm not terribly mistaken, looks like libvirt 1.2.1 does not provide
ability of merging only a subset of the entire chain of backing files.
So, if I have a chain like this:
root <- a <-b <- c <- d <- active
... and I'd like to obtain a chain like this:
root <- c <- d <- active
... looks like it's not supported,
2015 Oct 20
2
Re: failed to pivot job for disk vdc
Hello,
it happened with another VM:
# virsh snapshot-create-as --domain rasa sn1 --diskspec
vda,file=/var/lib/libvirt/images/rasa-sn1.qcow2 --disk-only
--atomic --no-metadata
# virsh blockcommit rasa vda --active --verbose --pivot
Block commit: [100 %]error: failed to pivot job for disk vda
error: block copy still active: disk 'vda' not ready for pivot yet
# virsh domblklist rasa
2014 Oct 09
1
live migration to localhost with lvm based storage
I have lvm based (thin pool) storage on local disks. I need to move
vps from one vg on one disk to another. Does it possible to migrate to
localhost with blockcopy migration to another vg?
I'm understand that i can move lv from one vg to another, but i don't need that.
--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru
2019 Nov 30
3
Converting LVM to qcow2
Hi!
I need to convert a KVM virtual machine from LVM to a qcow2 image, and wonder if this is the best way to do it (*1):
[$] qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2
If this is the best way to do this, will this keep the information on: /dev/vg_name/lv_name/ untouched?
Thanks, and please point me towards another mailing list if this it not right
2015 Oct 14
2
failed to pivot job for disk vdc
Hello,
I did a virsh snapshot-create-as --domain meta sn1 --diskspec
vda,file=/var/lib/libvirt/images/meta-sn1.qcow2 --disk-only
--atomic --no-metadata
Then I successfully blockcommitted 2 disks:
virsh blockcommit meta vda --active --verbose --pivot
virsh blockcommit meta vdb --active --verbose --pivot
But when doing
virsh blockcommit meta vdc --active --verbose --pivot
I got:
Block commit:
2015 Jan 07
2
Re: Block Commit: [100 %]error: failed to pivot job for disk vda
On Wednesday 07 January 2015 09:46:09 Eric Blake wrote:
> On 01/07/2015 07:19 AM, Thomas Stein wrote:
> > Hello.
> >
> > I'm seeing this error while doing a backup of a VM.
> >
> > + virsh blockcommit kaltura vda --active --verbose --pivot
> > Block Commit: [100 %]error: failed to pivot job for disk vda
> > error: internal error: unable to execute
2016 May 03
2
Ubuntu 14.04 virsh 1.2.2 blockcommit hangs at 100% / command 'blockcommit' doesn't support option --pivot
Hello All,
I think I have seen this in previous bugs. Trying to live backup qcow2
images. I am able to virsh snapshot-create-as and virsh domblklist shows
correct new source, but I am unable to commit back changes to qcow base. I
get the above error.
Libvirt at 1.2.2-0ubuntu13.1.17
Qemu is (2.0.0+dfsg-2ubuntu1.22)
I tried compiling latest libvirt, but cannot get it to connect to socket on
2016 Dec 28
2
libvirtError: block copy still active: disk not ready for pivot yet
Hi guys,
When performing live merge, in few cases, we see the following exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 736, in wrapper
return f(*a, **kw)
File "/usr/share/vdsm/virt/vm.py", line 5278, in run
self.tryPivot()
File "/usr/share/vdsm/virt/vm.py", line 5247, in tryPivot
ret =
2020 May 08
2
blockcommit --pivot does not succeed in conjunction with qemu 5.0.0
Hello one and all.
Got a problem with libvirt 6.2.0 and qemu 5.0.0.
virsh blockcommit mymachine vda --active --verbose --pivot
works until it shows [100%] but it never actually pivots. It just sits
there. Is this a known issue with 6.2.0 and i should
try 6.3.0? For now i switched back to qemu 4.2.0 and this seems to solve
the issue too. Any hints?
Ahoi! t.
2014 Oct 11
5
Re: KVM incremental backup using CBT
On Fri, Oct 10, 2014 at 07:32:06PM -0600, Eric Blake wrote:
> On 10/10/2014 11:37 AM, Jd wrote:
> > Hi
> > Looking in to implementing (CBT like) delta backup for KVM.
>
> Not quite sure what you mean by CBT.
>
> >
> > The following looks promising..(last paragraph)
> > http://wiki.qemu.org/Features/Snapshots2
> >
>
> Libvirt
2015 Jan 07
2
Block Commit: [100 %]error: failed to pivot job for disk vda
Hello.
I'm seeing this error while doing a backup of a VM.
+ virsh blockcommit kaltura vda --active --verbose --pivot
Block Commit: [100 %]error: failed to pivot job for disk vda
error: internal error: unable to execute QEMU command
'block-job-complete': The active block job for device
'drive-virtio-disk0' cannot be completed
I'm on qemu 2.2.0 and libvirt-1.2.11.
Does