Displaying 20 results from an estimated 1000 matches similar to: "libvirt-python Create External Snapshot"
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
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 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 May 16
1
(no subject)
Hi,
I am using libvirt and virsh for my application. I am trying to manage
snapshots for my infrastructure. All virsh commands are working fine like
snapshot-create, delete, list, revert, current.
But when I try to do the same using libvirt, I get out of memory error. Here
are the commands that i execute on my host in a python shell...
import libvirt
conn =
2011 Sep 27
2
Snapshot Error
Hey
When I want to take a snapshot for a Domain by using
virDomainSnapshotCreateXML. The Error as below happen:
libvir: QEMU error : Requested operation is not valid: Disk
'/var/lib/libvirt/images/fedora-qcow.qcow2' does not support snapshotting
The snapshot Configuration is :
<domainsnapshot>
<description>Snapshot of OS install and updates</description>
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
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
2015 May 28
2
Re: Concurrent scanning of same disk
2015-05-28 10:40 GMT+03:00 Richard W.M. Jones <rjones@redhat.com>:
> On Thu, May 28, 2015 at 10:33:48AM +0300, NoxDaFox wrote:
> > To create the snapshots I'm using the libvirt command snapshotCreateXML
> > with no flag set. Does libvirt support consistent snapshotting or shall I
> > rely on QEMU backup new feature only?
>
> According to:
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>
>
2014 Apr 10
0
Re: Help with understanding and solving snapshot problem
On 04/10/2014 04:38 PM, rolf 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.
Thanks for being accommodating; this was indeed easier to read (alas,
many web mailers these days lack settings for automatic wrap, so I end
up whacking the
2014 Apr 10
2
Help with understanding and solving snapshot problem
Hello
Fairly new to libvirt. I’m hoping to both solve a problem with this question as well as learn more detail about how libvirt works.
Using RHEL 6.4 and libvirt version is 0.10.2 and qemu-img version is 0.12.1.2
Using virt-manager I created a VM. Nothing unusual as far as I can see. I then added a disk. So I have a second virtio based volume which the guest then mounts as a separate
2014 May 19
1
Cloning of Running Domain
Hello,
I have a running transient domain with a storage volume that utilizes a
backing file (both QCOW2 format).
I'd like to capture the disk and memory state of the domain preferably to
external file(s) (which I understand is an 'external checkpoint'), so that
other independent domains can be instantiated and effectively "resumed"
from this point-in-time profile.
My
2015 May 28
2
Re: Concurrent scanning of same disk
2015-05-28 10:10 GMT+03:00 Richard W.M. Jones <rjones@redhat.com>:
> On Thu, May 28, 2015 at 09:48:41AM +0300, NoxDaFox wrote:
> > 2015-05-27 15:21 GMT+03:00 Richard W.M. Jones <rjones@redhat.com>:
> >
> > > On Wed, May 27, 2015 at 09:38:38AM +0300, NoxDaFox wrote:
> > > > * RuntimeError: file receive cancelled by daemon - On r =
> > >
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
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
2014 Jun 03
0
Re: LIbvirt Python Snapshot -Domain Crashing
On Tue, Jun 03, 2014 at 04:02:21PM +0530, Sijo Jose wrote:
>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>
>
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' shows its backing file
2004 Feb 25
1
authenticating from another samba server
Hi, I have a server, snap1 10.8.5.10, that runs samba, and have users
created by using useradd (but not added them to snap1's smbpasswd). I'd
like for users on our primary samba server, archives1 10.8.5.2, to be
able to type in \\snap1\username in windows and have the snap1 server
take them to their home directory on the snap1 server, but athenticate
the users against
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
2013 Jun 25
0
Re: snapshot-create-as for a single disk not all disks
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>
<name>snapshot01</name>
<description>Snapshot of OS install and updates</description>
<disks>
<disk name='vda' snapshot='external'>
<source