Displaying 20 results from an estimated 10000 matches similar to: "Live external snapshot coalescing"
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
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
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
2020 Feb 07
2
Re: does the guest have a snapshot ?
----- On Feb 7, 2020, at 3:43 PM, Peter Krempa pkrempa@redhat.com wrote:
> On Fri, Feb 07, 2020 at 15:25:22 +0100, Lentes, Bernd wrote:
...
>
> Libvirt is probably lacking the metadata for the snapshot. That is not a
> problem though, because since libvirt doesn't support deletion of
> external snapshots anyways currently you'd need to use the below
> approach anyways.
2015 Sep 11
0
Re: Backup a VM (using live external snapshot and blockcommit)
On 09/11/2015 06:45 AM, Jérôme wrote:
> AFAIU, live backups using libvirt may be done thanks to blockcommit as
> explained here on the wiki [2].
>
> -> Considering our use case, is this the recommended way?
Yes, using active block-commit is the ideal way to perform a live backup.
>
> Assuming yes, here is the plan.
>
> I wrote a script that does
>
> #
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: "Andrew Martin" <amartin@xes-inc.com>
> Cc: "Gergely Horváth" <gergely.horvath@inepex.com>, libvirt-users@redhat.com
> Sent: Thursday, February 6, 2014 9:31:29 AM
> Subject: Re: [libvirt-users] Can I move the disk image of the guest while it is running?
>
2017 Apr 23
1
External snapshot issue
I have used
virsh snapshot-create-as <VM name> <snapshot name> "<snapshot
description>" --diskspec
"vda,snapshot=external,file=/path/to/external-snapshot" --disk-only
--atomic
to create an external snapshot of a running VM. I followed it with
virsh blockpull <VM name> --path /path/to/external-snapshot
and monitored it until done.
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
2019 Jun 04
2
blockcommit of domain not successfull
Hi,
i have several domains running on a 2-node HA-cluster.
Each night i create snapshots of the domains, after copying the consistent raw file to a CIFS server i blockcommit the changes into the raw files.
That's running quite well.
But recent the blockcommit didn't work for one domain:
I create a logfile from the whole procedure:
2017 Apr 04
2
Live migration with non-shared ZFS volume
Hi all,
I'm using ZFS on Linux block volumes as my VM storage and want to do live
migrations between hypervisors.
If I create ZFS snapshot of used volume on source host, send it do
destination host (zfs send/recv) and then run live migration with
VIR_MIGRATE_NON_SHARED_DISK
flag, the migration works OK.
But this procedure copies the whole disk twice which is a huge downside.
The best
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:
> >
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
2017 Apr 28
1
Re: Live migration with non-shared ZFS volume
Hi Martin,
in the meantime, I've found a solution which I consider at least acceptable:
1. create zfs snapshot of domain disk (/dev/zstore/test-volume)
2. save original XML domain definition
3. create snapshot in libvirt like this:
virsh snapshot-create --xmlfile snap.xml --disk-only --no-metadata
test-domain
snap.xml:
<domainsnapshot>
<disks>
<disk
2015 Sep 11
3
Re: Backup a VM (using live external snapshot and blockcommit)
Hi Eric.
Thank you so much for your quick and relieving answer.
Le 2015-09-11 17:05, Eric Blake a écrit :
> Yes, using active block-commit is the ideal way to perform a live backup.
Great.
> Yep, that about covers it. Note that the --quiesce step in snapshot
> creation requires qemu-guest-agent running in the guest, and that you
> trust interaction with your guest.
Yes, I think
2018 May 02
2
Re: Create qcow2 v3 volumes via libvirt
On 01/05/2018 22:49, Gionatan Danti wrote:
> Ok, I think I'll continue to use RAW images + filesystem snapshots +
> external snapshot when required.
> It is unfortunate that we have no GUI to manage external snapshots. I
> even remember that external snapshot remove was not supported - I had to
> use the --metadata flag and a plain "rm" to remove them (or using
2013 Apr 17
1
Update request: When support for live snapshot delete incl coalesce
Does the libvirt development team have a sense of when/which version of
libvirt will support the deletion of live snapshots, incl. the coalesce.
With the restriction that you cannot delete the most recent snapshot!
Harald
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 this when
2012 Oct 21
2
Questions and a blockpull issue
Coming off of xen environment; still testing with kvm, just a few
questions:
1. What is the roadmap for release of qemu-kvm 1.1 and libvirt 0.10.2 for
el6, cause I had to compile from upstream to get the latest stuff.
2. Should not virt-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
2017 Jun 30
0
Re: recovering from deleted snapshot
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:
> >
> > [...]
> >
> > > virsh blockcommit $vm $DISK --active --pivot
> > >
> > > Normally this works fine, though something went
2016 Jan 21
1
Error after failed external snapshot.
Hi,
I use this procedure to backup my VM's: http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
It works on my current host:
Compiled against library: libvirt 1.2.16
Using library: libvirt 1.2.16
Gebruikte API: QEMU 1.2.16
Draaiende hypervisor: QEMU 2.1.0
Now I'm doing a test on a testing host:
Compiled against library: libvirt 1.2.21
Using library: libvirt 1.2.21