Displaying 20 results from an estimated 1200 matches similar to: "how to store an internal disk snapshot by use"
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 Feb 14
1
Use libvirt-python to attach cdrom
Hi all,
I want to attach cdrom by libvirt.py .But can't find a func in
libvirt.py can finish this work.
Who can help me ?
Regard
--
Seven Ling
E-mail: jiejie.ling at qq.com
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>
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 =
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
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
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
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 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 =
> > >
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:
2012 Sep 26
1
Create and revert to snapshot fails silently after device update on running domain
Hi list,
I'm having an issue with snapshot creation. Scenario:
qemu 1.1
libvirt 0.9.12
I create a domain, and start it. The domain has 1 IDE cdrom device
defined (see below).
When started, I want to mount an ISO file to it. So I do
updateDeviceFlags in libvirt-python or update-device in virsh (both have
the same problem).
This works fine, the ISO image becomes available to the domain.
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
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>
>
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
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
2013 Jun 26
0
Re: snapshot-create-as for a single disk not all disks
Thank you!
But snapshot-create-as will traverse all disks of the virtual machine and create snapshots for all of them. In my case, I want to create snapshot for root disk.
What's more. I understand "--diskspec" is a description of the disk. Do you mean it's used to specify a single disk to snapshot.
在 2013-06-26 09:10:31,"Gao Yongwei" <itxx00@gmail.com> 写道:
2003 Dec 28
2
How to send a domain wide message with smbclient?
Is there a way to send a message to all users currently logged into a
Samba domain controller? The reason why I ask is that I have a Samba
3.x.x primary/backup domain controller setup and as soon as the system
monitor detects that the primary domain controller is offline I would
like to execute a command to send a domain wide message telling all
domain users to save their work to the local
2015 May 28
0
Re: Concurrent scanning of same disk
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: http://wiki.libvirt.org/page/Snapshots
virDomainSnapshotCreateXML is only consistent if the guest is paused
during the