Displaying 20 results from an estimated 3000 matches similar to: "Snapshot Error"
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
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
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
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
2012 Apr 23
2
Snapshot system: really confusing.
Greetings,
I am developing a platform for test and debug use.
The typical scenario I want to realize is the following:
I run a .qcow2 image via QEMU-KVM, the running OS is not relevant.
I want to take several snapshots of both Disk and RAM status; same file,
separate files doesn't matter.
I just need a way to have consistent information about them (better with
XML description) and the data
2014 Jun 03
2
LIbvirt Python Snapshot -Domain Crashing
Hi,
I'm using libvirt(1.0.0) with python, for managing virtual machines..
but while taking multiple snapshot domain is crashing...
Snapshot XML
-------------------------
<domainsnapshot>
<name>snp1</name>
<creationTime></creationTime>
<description>Description</description>
<state></state>
<domain>
2011 Sep 08
3
Graphical framebuffers confuse, XML format about spice
Hello, i want to start a guest OS in the server, and use spice to achieve
graphical interaction with the guest OS. But when i config the XML file, i
was confuse by spice .
The graphic node is :
<graphics type='spice' port='5990' ><listen type='address'
address='127.0.0.1'/></graphics>
but is has such error as below :
libvir: QEMU error : internal
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
2019 Sep 06
1
could not create snapshotxml on encryption image
hi ,everyone!
I am a newcomer to Libvirt, and I don't know if it's a native question,
I create snapshots of virtual machines that use encrypted disk, The console gave me the following error:
Traceback(most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py",line 4613, in snapshot
self._dom,snapshotCreateXML(snapxml, snapFlags)
File
2014 Jun 03
1
Re: LIbvirt Python Snapshot -Domain Crashing
Martin,
Actually domain doesn't crash, but it state got changed to pause, till the
snapshot action got complete.
Its a time consuming process.
so here is my requirement.
I want to take snapshot of a Running Domain on every 3 hours,( at a later
point of time It should be possible to revert to the actual domain state
when I took the snapshot), I'm using libvirt APIs python bindings,
there
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>
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
2012 Nov 28
1
error: argument unsupported: unable to handle disk requests in snapshot
Hello, a problem occurred during making a snapshot for a guest, ask for help...
1. the xml for snapshotdomain like this:
# cat deployment.1
<domainsnapshot>
<name>a</name>
<disks>
<disk name='/home/qcow2/disk.0'>
<driver type='qcow2'/>
<source file='/home/qcow2/disk.3'/>
</disk>
</disks>
2019 Aug 14
0
Re: Recover snapshots from qcow images
On Tue, Aug 13, 2019 at 15:15:11 +0200, Petr Stodulka wrote:
> 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
>
2017 Apr 28
0
Re: Live migration with non-shared ZFS volume
On Tue, Apr 04, 2017 at 12:04:42PM +0200, Daniel Kučera wrote:
>Hi all,
>
Hi,
I caught your mail in my Spam folder for some reason, maybe the same
happened for others. I don't have that deep knowledge of the snapshots,
but I'm replying so that if someone else has it in Spam and they have
more insight, they can reply.
>I'm using ZFS on Linux block volumes as my VM storage
2011 Oct 12
1
XML file format for snapshot-create
I've created a very basic snapshot XML file, to allow for a description of
the snapshot. However when running the virsh command, it doesn't like the
formatting.
# virsh snapshot-create proxy_0 /vmstore/proxy_0/proxy_0_ss.xml
error: XML description for failed to parse snapshot xml document is not well
formed or invalid
This are the XML file contents...
# cat proxy_0_ss.xml
2012 Apr 26
1
proper way to snapshot
Hi,
While there are a few howtos floating around, what is the standard way to snapshot guests?
I went through and converted from raw to pre allocated meta data qcow2 images for this purpose.
Some howtos suggest to do an xml snapshot file as so;
<domainsnapshot>
<name>UbuntuServer_10.10-16032011</name>
<description>Snapshot of OS install and
2012 May 29
1
how to store an internal disk snapshot by use
Hello everyone,
I am trying to find a way to store an internal disk snapshot and
supposed to restore later.
Here is the problems I met:
1) when I use SnapshotCreateXML() to create a disk_only snapshot while
the domain is inactive, there is an error happened:
disk snapshot of inactive domains not implemented yet.
I am wondering is there and way I can save the disk_only
2014 Aug 06
2
Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
On Wed, Aug 6, 2014 at 12:27 PM, Eric Blake <eblake@redhat.com> wrote:
> On 08/06/2014 10:06 AM, Yuanzhen Gu wrote:
> > yes, I got your point, thanks very much Eric.
>
> not entirely, because you still top-posted.
>
> got it entirely this time, not top-posted.
> >
> > If I want to take a distributed snapshot, which need pause all the VMs
> and
>
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>