Displaying 20 results from an estimated 400 matches similar to: "KVM - full system ( disk+memory) snapshot by excluding the raw disks"
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
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>
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
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 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
2019 Nov 20
1
virsh snapshot-create --print-xml seems to ignore most arguments
Hi,
I am wondering if the --print-xml option is working correctly. The
output for two snapshot-create commands are the same, even though the
first one includes additional options (no-metadata and atomic).
I want to use the generated XML to create a snapshot via a perl script,
and Sys::Virt only seems to support snapshots using a XML description
of the arguments.
timos@cerberus:~$ sudo virsh
2012 Jul 19
1
Questions related to the snapshot
Hi,
I faced two problems with the snapshot:
First issue, I can use the snapshot functions via the virsh correctly such
as snapshot-list. And when I removed the snapshot XML files from
/var/lib/libvirt/qemu/snapshot/**/, I don't see the snapshot of the Virtual
Machine any more. That's correct.
But after I copying the XML files back, I can't see the the snapshot as
well. Only if I
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
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, vdb and vdc in the following example?
(From https://libvirt.org/formatsnapshot.html)
<domainsnapshot>
...
<memory snapshot='no'/>
<disks>
<disk name='vda' snapshot='external'>
<driver
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
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
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 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
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 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 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
2010 Oct 14
5
Restricting samba subfolder acl changes to admin users
Dear samba team,
What I noticed from the below example is , any user who has write access to share are able to change sub folder acls in it. we don't want that. how to restrict this to only admin users in NAS and to AD administrator in windows. ?.
Please help .
----------------
1) Import user from W2K3 R2 Server and set up a secure share. User has Read/Write access.
2)
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 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>