Displaying 20 results from an estimated 10000 matches similar to: "Live snapshots of a single block device"
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
2018 Mar 20
2
About libvirt domain snapshot problem(for single disk snapshot)
Hi, dear friend.
My guest has two disks, vda and vdb. both are qcow2 local file.
When guest running state.
I want to take the vda snapshot of guest(just vda, no include vdb). but I met libvirt do snapshot for all disks of guest.
About methods for follow:
1、
``` bash
virsh
snapshot-create-as 8x0lbzvS --name sys_disk3 --disk-only --diskspec "vda,snapshot=external"
```
``` result
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
2014 Apr 10
2
Re: Help with understanding and solving snapshot problem
Hello
Thanks heaps for your suggestions. responses inline.
On 10 Apr 2014, at 10:34 pm, Eric Blake <eblake@rehost1hat.com> wrote:
>
> [ … ]
> [Can you convince your mailer to wrap long lines? It makes it easier
> for other readers]
I’ll try and keep the lines short. I don’t see any obvious setting to change the wrap.
>>
>> Using RHEL 6.4 and libvirt version
2013 Jun 26
2
Re: snapshot-create-as for a single disk not all disks
try snapshot-create-as like below:
virsh snapshot-create-as vm --disk-only --diskspec "vda,snapshot=external"
2013/6/25 cmcc.dylan <dx10years@126.com>
>
> Hi, everyone,
> I have found the API snapshotCreateXML() can create a snapshot for a
> virtual machine, and the xml configuration file - snapshot.xml as folllows:
> <domainsnapshot>
>
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
2012 Aug 02
2
Excluding RAW disk from snapshot
I have an oVirt engine node that currently runs the system on a qcow2
based virtual disk, and an NFS export volume on RAW. I'd like to take
a snapshot before a somewhat risky upgrade of oVirt and can't with the
raw image attached.
Looking at the documentation for the snapshot XML, I created this XML
file for the snapshot
<domainsnapshot>
<name>20120802</name>
2013 Mar 28
1
Snapshot without volumes temporarily
Hello,
I want to do a snapshot which the VM has volumes.
But I want to skip the volume check when I do the snapshot. (Which means I
want to do a snapshot without detaching the volume)
So I try to write a snapshot XML refer by
http://libvirt.org/formatsnapshot.html as following:
vda is my VM basic disk (qcow2)
vdb is a volume (raw)
================ t1.xml ===============
<domainsnapshot>
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
2019 Aug 13
2
Recover snapshots from qcow images
Hi guys,
I had to move to the new laptop week ago and I screw migration of my virtual
machines. I recovered my virtual machines on the new laptop (virsh define)
using the backed up xml files, but I am missing any file with metadata about
snapshots. The original storage is cleaned so I cannot take these files
anymore.
Using qemu-info I can see my snapshots inside the qcow images, but libvirt
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 Mar 22
0
回复: Fwd: About libvirt domain snapshot problem(for single disk snapshot)
My negligence。
--
James Iter
在 2018年3月22日 星期四,下午11:02,Dominik Psenner 写道:
> I believe that Your mail went to the wrong recipient. As far as I'm
> concerned it should have been sent to the libvirt-users mailing list,
> shouldn't it?
>
>
> On 2018-03-22 15:55, James Iter wrote:
> > Thank your reply.
> > I found the method.
> > Now, I sharing
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
2020 Aug 13
1
kvm & external snapshots
Everyone,
I am trying to create external snapshots of a kvm guest machine and have not been able to
do so.
In accordance with :
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-troubleshooting-workaround_for_creating_external_snapshots_with_libvirt
I have used the command line :
snapshot-create-as --diskspec
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
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
2013 Jun 25
2
Re: snapshot-create-as for a single disk not all disks
Thanks for you reply!
Firstly, I'm very sorry I forgot introduce the scenarios in my experiments. Supposing a case, I have a virtual machine with two disks. One is mounted as a root partition and the other is data partition and the second disk is an iscsi lun, that is to say, not a local disk or image. Now the result wanted is that creating a snapshot for the root disk but not for the data
2019 Jul 03
1
libvirt-python Create External Snapshot
Hi Libvirt,
Does libvirt-python currently support the creation of external snapshots?
I ran
domain.snapshotCreateXML(xml)
where xml is
<domainsnapshot>
<name>snap1</name>
<description>Snapshot of OS install and updates</description>
<disks>
<disk name='vda'>
<source
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
2015 Jun 30
0
qemu-img snapshots configuration
Hello.
What it the difference in external snapshot configuration with and
without <domainsnapshot> ?
What is the difference between vda and vdb in the following example?
(From https://libvirt.org/formatsnapshot.html)
<domainsnapshot>
...
<memory snapshot='no'/>
<disks>
<disk name='vda' snapshot='external'>
<driver