Displaying 20 results from an estimated 1000 matches similar to: "kvm & external snapshots"
2014 May 22
2
Live snapshots of a single block device
Hello,
I am working on a script to automatically create live snapshots of running VMs using qemu-kvm 1.4.0 and libvirt 1.0.2. If a VM has multiple disks, I'd like to back them up individually with separate calls to snapshot-create-as, so I can more easily manage the disk images. The code I have now is essentially as follows:
virsh snapshot-create-as --domain "vmname" --name
2013 Dec 04
2
Re: Virsh snapshots
Thanks for your answer,
I am trying to make a snapshot of whole virtual machine (disk, CPU
state, memory). But I need to make this snapshot in matter of seconds.
I have already try to create snapshot of disk, which is not problem. I
use qcow2 format, and create new disk image using original disk image as
backing file. But still I am not able to assign state of vm with new disk.
I have found
2015 Nov 19
2
Can't take live snapshot, not supported with this QEMU binary
Hi all,
I was trying to take live snapshot of VMs, but I got the following error:
[root@localhost ~]# virsh snapshot-create-as 1 test desc --live
--memspec file=mem.bak,snapshot=external --diskspec
vda,snapshot=external,file=/root/root.bak.qcow2
error: Operation not supported: live disk snapshot not supported with
this QEMU binary
I upgraded my qemu-kvm 0.12.1 to qemu 1.2, the error still
2016 Apr 12
2
Re: Clone VM with saved state
Hi Kashyap,
Thanks for your answer!
Unfortunately my use case requires cloning the exact memory state, so I
won't be able to use virt-sysprep.
But the snapshot command looks like something I could use.
Could you suggest how to proceed and create/start a new vm from that
snapshot?
Thanks,
Michael
On Tue, Apr 12, 2016 at 2:37 PM, Kashyap Chamarthy <kchamart@redhat.com>
wrote:
> On
2001 Dec 07
2
Memory problem
Dear all,
I have written a little R program to convert images. See below. Within the
loop over j (the filenames) memory consumption grows constantly. rm( ... )
inside the loop did not help. Memory does not grow if I remove the writeBin
statements between the two #-------- marks. But obviously this is not
solution I want...
Thanks for any advice.
Manfred Baumstark
P.S. As I'm new to R:
2014 May 23
2
Re: Live snapshots of a single block device
----- Original Message -----
> From: "Eric Blake" <eblake@redhat.com> To: "Andrew Martin"
> <amartin@xes-inc.com>, libvirt-users@redhat.com Sent: Thursday, May 22, 2014
> 5:44:54 PM Subject: Re: [libvirt-users] Live snapshots of a single block
> device
>
> On 05/22/2014 04:31 PM, Andrew Martin wrote:
> > Hello,
> >
>
> [Can you
2016 Apr 11
2
Clone VM with saved state
Hi,
My use case involves creating duplicates of saved virtual machines.
Tried with virt-manager and with virsh but so far it seems like this case
is not supported by these tools.
Does anyone know how I could achieve the above?
Thanks,
Michael
2020 Jul 11
1
Help with external snapshots as backups
Hi,
I have a win10 guest on a fedora32 system and have some questions as I
explore using external snapshots as a form of backup in case of a
Windows failure (as in, it won't boot or is completely irrecoverable) as
well as revision control (to be able to rollback changes after a failed
app install, etc).
The first hit on Google for external snapshots involves a RHEL7 document
that talks
2001 Dec 08
2
Building under IRIX 6.5 (report)
On my IRIX system (SGI compilers, gcc not installed) ./configure runs fine,
but there is a problem with make (output below) that can be solved by
changing one line in src/modules/lapack/Makefile. If this line is changed,
make runs without problems. 'make check' still has a problem
(sh[14]: /usr/sbin/perl: arg list too long), but I assume this is
"cosmetic".
Manfred
-----------
2012 Nov 12
1
difference between ` virsh save ` and `virsh snapshot
what the difference between ` virsh save ` and `virsh snapshot`? are they
all used for backup for vm?have any details articles to introduce vm bakcup
or image bakcup with libvirt?
thanks in advance.
liuzhijun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121112/931d27a2/attachment.htm>
2014 May 23
2
Re: Live snapshots of a single block device
> >> --live only makes sense when mixed with memory snapshots (with --memspec);
> >> but
> >> as you are doing a --disk-only snapshot, it doesn't help (I'm not sure if
> >> it
> >> will error out as mutually exclusive or just be silently ignored,
> >> without reading the code).
> > I'm using this code in a script for creating
2019 Mar 20
2
virsh snapshot-create-as: change umask on snapshots
I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
virsh snapshot-create-as --domain hq-live-v01 \
--name snappy \
--diskspec vda,file=/var/lib/libvirt/images/hq-live-v01.snappy,snapshot=external \
--diskspec vdb,file=/var/lib/libvirt/images/hq-live-storage.snappy,snapshot=external \
--disk-only --quiesce --atomic
This
2015 Aug 07
3
virsh create snapshot not honoring diskspec?
Hi,
I'm trying to create a snapshot on a specific disk by using diskspec
option. However, libvirt/virsh seems to ignore it and takes a snapshot of
all disks. Am I using this option incorrectly?
In below examples, I'm trying to snapshot only vdb. However even vda is
getting snapshotted regardless of diskspec. Is this a known issue?
I'm on CentOS 7.1, libvirtd (libvirt) 1.2.8, virsh
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 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
2019 Mar 22
1
Re: virsh snapshot-create-as: change umask on snapshots
On Wed, Mar 20, 2019 at 15:48:43 -0500, Eric Blake wrote:
> On 3/20/19 1:50 PM, Mircea Husz wrote:
> > I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
> >
> > virsh snapshot-create-as --domain hq-live-v01 \
> > --name snappy \
> > --diskspec
2002 May 06
2
need help building R on SGI
I'm trying to build R-1.5.0 on an SGI. I downloaded the tar file
just a couple of hours ago. These are the various variables I set
before configuring, and the arguments to configure I'm using:
export R_PAPERSIZE=letter
CPPFLAGS=-I/usr/dfs/src/readline
export LDFLAGS='-L/usr/common/lib -L/usr/lib32 -L/usr/dfs/src/readline'
export CONFIG_SHELL=/v/bin/sh SHELL=/v/bin/sh
./configure
2014 May 22
0
Re: Live snapshots of a single block device
On 05/22/2014 04:31 PM, Andrew Martin wrote:
> Hello,
>
[Can you convince your mailer to wrap long lines?]
> I am working on a script to automatically create live snapshots of
> running VMs using qemu-kvm 1.4.0 and libvirt 1.0.2. If a VM has
Any reason you aren't upgrading to newer versions? Although these seem
sufficient for what you are trying.
> multiple disks, I'd
2020 Jan 05
3
(no subject)
Dear all,
Please let me start by indicating that I am not from a technical
background, so please be gentle and patient with me.
I am trying to get a snapshot from my virtual machines (vm) and the
following
command works for all of them bar one:
# virsh snapshot-create-as --quiesce --no-metadata --domain myvm myvm-state
--diskspec vda,file=overlay.qcow2 --disk-only --atomic
The only exception is
2018 Feb 16
2
Re: snapshot of a raw file - how to revert ?
On Fri, Feb 16, 2018 at 04:37:38PM +0100, Lentes, Bernd wrote:
[...]
> Hi,
>
> again thanks for your quick answer. I had a look on
> https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
> and i liked it. I'm thinking of upgrading my systems to SLES 12 SP3.
> With that i have qemu 2.9.1 and libvirt 3.3.0, so it should work.
Yep.
> Does this procedure