search for: blockpull

Displaying 20 results from an estimated 57 matches for "blockpull".

2012 Oct 21
2
Questions and a blockpull issue
...manager show the sparsed disk size instead of actual reserved size of a vm? 3. Where is the virsh bash_completion conf.d file from upstream; since el6 rpm for it seems have tab completion built right into virsh shell. 4. Created a disk-only snapshot of a vm CO1 called capture1 but the syntax of blockpulling seems to be opposite from what has been advertised on Fedora and other relative wikis. Check below and the error with first blockpull command. [root at KVM libvirt]# virsh snapshot-create-as CO1 capture1 "CO1s first snapshot test" --disk-only --atomic [root at KVM libvirt]# virsh...
2016 Jul 21
2
Blockpull behavior when interrupted
Hello, I use snapshot-create-as followed by blockpull when creating external snapshots of VMs. This works well, however I am curious about the behavior of blockpull after an unexpected shutdown (or SIGKILL). If a blockpull is in progress and an unexpected power loss occurs, will the VM continue to reference the backing file for the parts of it that ha...
2014 Aug 06
2
[help] Does "virsh blockpull" works on live virtual machine
...he existed disk files relationship look like: base <- snap1 <-snap2 <- current using disk file. Now I want to remove snap1 and snap2, and let current disk using the base image file as back file directly. Unfortunately, for some reason, I can not shutdown the vm, and exectue the "virsh blockpull" command. Can I execute the "virsh blockpull" while the vm is power on, and the application in the vm is not affected? Thanks very much! Daniel
2016 Jul 21
0
Re: Blockpull behavior when interrupted
On 07/21/2016 03:05 PM, Andrew Martin wrote: > Hello, > > I use snapshot-create-as followed by blockpull when creating external snapshots > of VMs. This works well, however I am curious about the behavior of blockpull > after an unexpected shutdown (or SIGKILL). If a blockpull is in progress and an > unexpected power loss occurs, will the VM continue to reference the backing file > for the...
2012 Sep 13
1
After a 'virsh blockpull', 'virsh snapshot-list --tree' o/p does not reflect reality
Hi (Eric?), A couple of questions while using the 'virsh blockpull' Summary: 1] Created snapshots this way: base<-snap1<-snap2<-snap3 (online, external snapshot --disk-only) 2] I did a 'virsh blockpull' from snap2 into snap3 3] Next, did another 'virsh blockpull' from snap1 into snap3 - Here, 'qemu-img info /path/to/snap3'...
2019 Jul 03
1
Blockpull while domain is shutoff
Hi Libvirt, Is there a command that performs the same operation as blockpull while a domain is shutoff? I have a backing chain base <-- A <-- B that I would like to shorten to base <-- B It seems like blockpull B, setting --base <path-to-base> does this, but only when the domain is running. Thanks! Sincerely, Roger Jin -------------- next part --------...
2014 Jan 31
0
Re: Looks like blockpull does not accept a subset of the entire chain of backing files
...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, since I'm trying the command > > / //virsh blockpull domain --path /path/to/c > --bandwidth 30 --base /path/to/root// (1) > / > ... but it complains because /--path /path/to/c/ is not recognized, > since only /--path /path/to/active/ is acceptable: > > / //virsh blockpull domain --path /path/to/active &gt...
2014 Jan 29
4
Looks like blockpull does not accept a subset of the entire chain of backing files
...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, since I'm trying the command / //virsh blockpull domain --path /path/to/c --bandwidth 30 --base /path/to/root// (1) / ... but it complains because /--path /path/to/c/ is not recognized, since only /--path /path/to/active/ is acceptable: / //virsh blockpull domain --path /path/to/active --bandwidth 30 --base /path/to/ro...
2016 Jul 22
3
Re: Blockpull behavior when interrupted
----- Original Message ----- > From: "Eric Blake" <eblake@redhat.com> > To: "Andrew Martin" <amartin@xes-inc.com>, libvirt-users@redhat.com > Sent: Thursday, July 21, 2016 5:40:07 PM > Subject: Re: [libvirt-users] Blockpull behavior when interrupted > > On 07/21/2016 03:05 PM, Andrew Martin wrote: > > Hello, > > > > I use snapshot-create-as followed by blockpull when creating external > > snapshots > > of VMs. This works well, however I am curious about the behavior of > > b...
2014 Aug 06
0
Re: [help] Does "virsh blockpull" works on live virtual machine
...nyanqiu@keytonecloud.com wrote: > Hi all, [please configure your mailer to wrap long lines] > ...Now I want to remove snap1 and snap2, and let current disk using the base image file as back file directly. Unfortunately, for some reason, I can not shutdown the vm, and exectue the "virsh blockpull" command. Can I execute the "virsh blockpull" while the vm is power on, and the application in the vm is not affected? Yes, that's the point of the 'virsh blockpull' command - live chain manipulation with no impact to the running guest. -- Eric Blake eblake redhat co...
2012 Aug 17
1
Live Snapshot and Rebasing using blockpull
...this article which highlights the following method: http://www.linux-kvm.com/content/first-look-virtual-machine-online-disk-snapshots-coming-fedora-18 1. virsh snapshot-create-as to create the snapshot 2. cp myvm.qcow2 myvm-backup.qcow2 to copy off the now read-only backing image file 3. virsh blockpull to merge the base and snapshot images together into a single image again Is this functionality only available in qemu 1.1? I am using Ubuntu 12.04 LTS on production servers which only includes qemu 1.0.x. Is there a safe alternative for accomplishing live backups like this on qemu 1.0.x? Is ther...
2019 Jul 03
0
libvirt-python blockPull
Hi Libvirt, Does libvirt-python currently support adding a base path to virDomain.blockPull()? In particular, I would like to have the behavior of the following virsh command (from https://kashyapc.wordpress.com/2013/01/22/live-backup-with-external-disk-snapshots-and-libvirts-blockpull/) in libvirt-python: [image: image.png] Thanks! Sincerely, Roger Jin -------------- next part ------...
2020 Oct 13
0
Re: Attached disk blockpull
...virt question, so asking it on the qemu-block might not get you an answer that quick, ... or ever if I didn't notice your other question also addressed incorrectly. [adding libvirt-users@redhat.com to cc] On Tue, Sep 01, 2020 at 10:57:34 -0400, Yoonho Park wrote: > I am trying to perform a blockpull on an attached disk, but I cannot do > this using "virsh attach-disk" specifying a new, empty overlay file created > with "qemu-img create". The VM does not pick up the backing_file path from Could you please elaborate on the exact steps? specifically the arguments for qe...
2014 Feb 06
2
Re: Can I move the disk image of the guest while it is running?
...ssible consequences of a transient > domain, there is another possibility for moving your data to a new disk, > except that it forces you to convert to qcow2: > > virsh snapshot-create-as $dom --no-metadata --disk-only \ > --diskspec /ssd/image.raw,file=/hdd/image.qcow2 > virsh blockpull $dom --wait --verbose > > and also has the drawback that if the guest quits in the middle of the > blockpull, then you have to track both the original file and the > snapshot wrapper - but at least blockpull is restartable from where it > left off, for the next time the guest is run...
2015 May 19
2
Pivot without copy
Hi, Is it possible to "pivot" to a new image without doing blockcopy or blockpull? I know how to use snapshots and blockpull to create a new image and pivot to using it live, but what I would like to do is to have a VM switch from using imageA.qcow2 to image2.qcow2 while running. I don't see why this wouldn't be possible since some of the existing libvirt tools can do th...
2014 Jan 29
0
Re: Looks like blockpull does not accept a subset of the entire chain of backing files
...root (commit direction, in which case, the existing block-commit command works just fine for this scenario) or into c (pull direction, in which case, qemu doesn't support it yet)? > The point is: How could I obtain the results I'm trying to achieve via > command (1) ? In the current blockpull implementation, qemu refuses to pull into anything but the active image (true even for your use of qemu 1.7). I've been asking for the ability to pull into intermediate images, but it isn't there yet. > > I'm new to libvirt, but the article below made me think that what I'm...
2014 Jan 29
2
Re: Looks like blockpull does not accept a subset of the entire chain of backing files
...h > case, the existing block-commit command works just fine for this > scenario) or into c (pull direction, in which case, qemu doesn't support > it yet)? > >> The point is: How could I obtain the results I'm trying to achieve via >> command (1) ? > In the current blockpull implementation, qemu refuses to pull into > anything but the active image (true even for your use of qemu 1.7). > I've been asking for the ability to pull into intermediate images, but > it isn't there yet. > >> I'm new to libvirt, but the article below made me think t...
2016 Jul 23
0
Re: Blockpull behavior when interrupted
On 07/22/2016 11:30 AM, Andrew Martin wrote: > > Thanks, that was a helpful overview. To clarify, block commit is changing > the backing files,but even though it is doing that, the data is consistent > even if it is interrupted? Yes, the guest's view of the data is consistent. Intermediate backing files may have contents that don't correspond to any historical state seen by
2014 Jan 31
0
Re: Looks like blockpull does not accept a subset of the entire chain of backing files
2014 Feb 06
2
Re: Can I move the disk image of the guest while it is running?
...ubject: Re: [libvirt-users] Can I move the disk image of the guest while it is running? > > On 02/06/2014 08:14 AM, Andrew Martin wrote: > > Eric, > > > > For scripted live backups, which non-transient technique would you prefer: > > 1. snapshot-create-as followed by blockpull, which results in the original > > file being left as a standalone copy of the VM from that point in time; it > > can then be copied off to a backup disk once blockpull completes > > Slower (because it pulls the entire contents of the original file into > the new file), but li...