Displaying 20 results from an estimated 7000 matches similar to: "virsh blockcommit hangs at 100%"
2015 Oct 13
2
virsh can't support VM offline blockcommit
Hi everyone!
I use the libvirt(version: 1.2.2) and QEMU(version: 2.2.1) to test qemu snapshot features:
I tried virsh blockcommit when VM offline, the virsh blockcommit failed: the error messase as below:
error: Requested operation is not valid: domain is not running
when I start the VM, the virsh blockcommit work fine!
my question is:we need
2015 Oct 19
1
Re: virsh can't support VM offline blockcommit
Hi Kashyap Chamarthy:
thank you very much for answer my question:
一: lead to VM filesystem becoming read-only
1: test case
it lead to VM filesystem becoming read-only test case as follows:
we want to snapshot for VM , to obtain VM incremental data,and use virsh blockcommit,qemu-img commit,qemu-img rebase to shorten snapshot chain.
Details are as follows(when VM running state, we perform the
2015 Dec 07
3
Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied
Hi ,
Working on the simple POC : Advanced snapshot using libvirt and qemu .
Following are the exact steps which are followed .
1. Created as base VM - Ubuntu 15.10 with following libvirt and qemu
versions
Using library: libvirt 1.2.16
Using API: QEMU 1.2.16
Running hypervisor: QEMU 2.3.0
QEMU emulator version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu9.1), Copyright
(c) 2003-2008 Fabrice
2019 Apr 25
1
Live Disk Backup with Active Blockcommit
Hi!
I was reading the Wiki about 'Live Disk Backup with Active Blockcommit, https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
and see that example shown seems to be using two different names for the same file.
First showing the current block device in use:
$ virsh domblklist vm1
Target Source
------------------------------------------------
vda
2015 Dec 08
2
Re: Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied
Thanks Kashyap for replying.
QEMU has permissions to the directory which is having images. I will look
into the AppArmor issue and find out more about this.
Also as per suggestion from the link i have uncommented the user and group
from the qemu.conf file - https://github.com/jedi4ever/veewee/issues/996
By checking more on the AppArmor and sVirt issue , i have modified the
qemu.conf for
2016 Nov 21
1
blockcommit and gluster network disk path
Hi,
I'm running into problems with blockcommit and gluster network disks -
wanted to check how to pass path for network disks. How's the protocol and
host parameters specified?
For a backing volume chain as below, executing
virsh blockcommit fioo5
vmstore/912d9062-3881-479b-a6e5-7b074a252cb6/images/27b0cbcb-4dfd-4eeb-8ab0-8fda54a6d8a4/027a3b37-77d4-4fa9-8173-b1fedba1176c
--base
2015 Dec 09
2
Re: Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied
This is not a libvirt/redhat question…
With your method you can only revert to versions which are available in the standard repositories. You’ll have to download the packages manually to force a different version. Use with caution. There is a reason why the version isn’t in the standard repositories.
Van: libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] Namens Keyur
2015 May 21
1
Blockcommit error
HI,
I am receiving the following error when I try to run blockcommit:
==============================================================
root@farnsworth:/var/lib/libvirt/images# virsh blockcommit pg94-test vda
--top /var/lib/libvirt/images/pg94-test.snap4 --active --pivot --verbose
error: unsupported flags (0x4) in function qemuDomainBlockCommit
2015 Sep 11
2
Backup a VM (using live external snapshot and blockcommit)
Hi.
I'm following here a conversation that was initiated on Kashyap's
website [1].
We have a server we use as a host for virtual machines using KVM
(virt-manager used for VM creation) and we would like to setup VM
backups. Basically, we're thinking of a backup schedule like "keep 7
daily and 4 weekly backups". We'd rather not shutdown the VM every day
so live backups
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.
2017 Jun 22
4
recovering from deleted snapshot
I have an automatic process setup. It's still pretty new and obviously
in need of better error handling because now I find myself in a bad state.
I run snapshot-create-as across all my vms, then do zfs replication to
the target backup system, then blockcommit everything.
virsh snapshot-create-as --domain $vm snap --diskspec
$DISK,file=$VMPREFIX/"$vm"-snap.qcow2 --disk-only --atomic
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
2013 Sep 04
2
Is virsh blockcommit supported? Thanks a lot
Hi,
I have another question, when I do the blockcommit command and get the result " Top image as the active layer is currently unsupported ", is it being developed?
root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1;echo $?
error: internal error unable to execute QEMU command 'block-commit': Top image as the active layer is currently unsupported
1
But as I
2016 May 03
0
Re: Ubuntu 14.04 virsh 1.2.2 blockcommit hangs at 100% / command 'blockcommit' doesn't support option --pivot
Dear Liam,
You need to upgrade to the latest LTS version of Ubuntu (16.04).
I refer to my message to this mailing list on 17/03/2016:
Hi everybody,
Following this user mailing list over a period of time, I saw a few messages regarding not being able using the external snapshot feature.
I refer to this procedure: http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
I would
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
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:
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
2017 Jun 30
2
Re: recovering from deleted snapshot
On Fri, Jun 30, 2017 at 09:23:29 -0400, Doug Hughes wrote:
> On Jun 30, 2017 6:22 AM, "Peter Krempa" <pkrempa@redhat.com> wrote:
> > On Fri, Jun 30, 2017 at 12:05:47 +0200, Peter Krempa wrote:
> > > On Thu, Jun 22, 2017 at 11:02:41 -0400, Doug Hughes wrote:
[...]
> file or directory
> > $ virsh blockcommit --active --pivot fedora23 vda
> >
>
2020 May 11
1
Re: blockcommit --pivot does not succeed in conjunction with qemu 5.0.0
On Fri, May 08, 2020 at 13:05:01 +0200, Thomas Stein wrote:
>
> Maybe:
>
> from 6.3.0 release notes:
>
> - qemu: Fix domain restore from a block device
> When using namespaces, libvirt was unable to restore a domain from a
> block device because libvirt tried to relabel the device inside the
> namespace while QEMU was given FD to the block device in the host.
2013 Sep 03
3
Is virsh blockcommit supported? Thanks a lot
I had test the command virsh blockcommit, but it failed, with the libvirt version 1.1.0, and qemu version 1.6.0.
Is this feature being developing? Thanks
root at cvk-31:/vms/images# virsh -v
1.1.0
root at cvk-31:/vms/images# qemu-img -V
qemu-img version 1.6.0, Copyright (c) 2004-2008 Fabrice Bellard
usage: qemu-img command [command options]
root at cvk-31:/vms/images# virsh blockcommit Vmtest