Displaying 20 results from an estimated 10000 matches similar to: "Help with understanding and solving snapshot problem"
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 Apr 10
0
Re: Help with understanding and solving snapshot problem
On 04/10/2014 12:00 AM, rolf wrote:
> 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.
[Can you convince your mailer to wrap long lines? It makes it easier
for other readers]
>
> Using RHEL 6.4 and libvirt version is 0.10.2 and qemu-img version is 0.12.1.2
Have you considered raising
2013 Jun 10
1
Re: virsh snapshot-create and blockcopy
Am 10.06.13 10:40, schrieb Kashyap Chamarthy:
> On 06/10/2013 01:20 PM, Thomas Stein wrote:
>> Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
>>> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>>>> Hello.
>>>>
>>>> I just tried the following:
>>>>
>>>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
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
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
2015 Mar 15
3
how to get disk snapshot size
Hi,guys
I wanna to get the disk snapshot size, but found nothing libvirt commands
related,except qemu-img.
I create two disk snapshots, but nothing return its' size
[root@cskvm01 qcow2]# qemu-img info
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
image:
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
file format: qcow2
virtual
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
2014 Jul 02
7
virsh blockcopy: doesn't seem to flatten the chain by default
Versions
--------
(Libvirt locally built from a recent git commit -ec7b922):
$ rpm -q libvirt-daemon-kvm qemu-system-x86
libvirt-daemon-kvm-1.2.6-1.fc20.x86_64
qemu-system-x86-2.0.0-1.fc21.x86_64
Test
----
[All images are qcow2 files.]
We have this simple chain:
base <- snap1
Let's quickly examine the contents of 'base' and 'snap1' images:
2013 Jun 10
2
Re: virsh snapshot-create and blockcopy
Am 10.06.13 09:07, schrieb Kashyap Chamarthy:
> On 06/09/2013 02:46 PM, Thomas Stein wrote:
>> Hello.
>>
>> I just tried the following:
>>
>> virsh dumpxml --security-info gentoo-template > gentoo-template.xml
>> virsh snapshot-create gentoo-template
>> virsh undefine gentoo-template
>
> Wait - is that really the command you used after
2015 Oct 19
1
Re: virsh can't support VM offline blockcommit
Hi Kashyap Chamarthy:
thank you very much for answer my question:
一: lead to VM filesystem becoming read-only
1: test case
it lead to VM filesystem becoming read-only test case as follows:
we want to snapshot for VM , to obtain VM incremental data,and use virsh blockcommit,qemu-img commit,qemu-img rebase to shorten snapshot chain.
Details are as follows(when VM running state, we perform the
2013 Oct 02
2
Snapshots: Where they are stored and how to use them?
Firstly I'd like to learn where a snapshot is stored once it has been
made. I understand that the principle is that when changes occur in
the VM, the difference is written to the snapshot, thus recording the
differences between the date/time of the snapshot and the current
value of the VM. Is that a correct assessment of the process?
If that is indeed so, can I take regular snapshots and
2014 Oct 22
1
Changing 'source file' on running VM.
So I notice that some operations by libvirt such as creating a snapshot actually change the source of the active disk image for a domain without requiring a restart of the vm. How can this be achieved manually? There are instances where I am manipulating files with qemu-img or virsh commands and afterward need to change what file the vm is using as its disk. One example is when deleting a
2013 Jan 31
1
Managing Live Snapshots with Libvirt 1.0.1
Hello,
I recently compiled libvirt 1.0.1 and qemu 1.3.0 on Ubuntu 12.04. I have performed live snapshots on VMs using "virsh snapshot-create-as" and then later re-merge the images together using "virsh blockpull". I am wondering how I can do a couple of other operations on the images while the VM is running. For example, VM1 is running from the snap3 image, with the following
2016 Mar 08
1
unable to create preallocated image with gluster protocol
Hi All,
When I tried to create preallocated image with gluster , I am unable to
create one
The image gets created but not preallocated.
[root@ ]# qemu-img create -f qcow2 -o preallocation=full
gluster://host1.lab.eng.blr.redhat.com/rep3vol/vm3.img 3G
Formatting
'gluster://dhcp37-61.lab.eng.blr.redhat.com/rep3vol/newvm3.img',
fmt=qcow2 size=3221225472 encryption=off cluster_size=65536
2020 Jul 16
1
Cannot pass secret id for backing file after taking external snapshot on encrypted qcow2 file
Hi,
I used 'virsh snapshot-create' create an encrypted external snapshot, when I try to use 'qemu-img check' top file, found no entrance to pass backing-file's secret-id
1、Version
centos-release-8.2-2.2004.0.1.el8.x86_64
libvirt.x86_64 6.0.0-17.el8
qemu-kvm.x86_64
2015 Dec 07
3
Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied
Hi ,
Working on the simple POC : Advanced snapshot using libvirt and qemu .
Following are the exact steps which are followed .
1. Created as base VM - Ubuntu 15.10 with following libvirt and qemu
versions
Using library: libvirt 1.2.16
Using API: QEMU 1.2.16
Running hypervisor: QEMU 2.3.0
QEMU emulator version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu9.1), Copyright
(c) 2003-2008 Fabrice
2015 Jan 06
2
ubuntu virsh snapshot-create-as gives Error -22 while writing VM
Hello all, I'm trying to create an online internal snapshot to work with
Cuckoo Sandbox.
I keep receiving this -22 error below on my Ubuntu system and I'm out of
ideas, been at it for a while so any help is appreciated.
root@cuckoo-sec:~# virsh snapshot-create-as cuckoo cuckoo-snap1 "Cuckoo
Snapshot"
error: operation failed: Error -22 while writing VM
$ uname -a
Linux
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 Oct 13
2
virsh can't support VM offline blockcommit
Hi everyone!
I use the libvirt(version: 1.2.2) and QEMU(version: 2.2.1) to test qemu snapshot features:
I tried virsh blockcommit when VM offline, the virsh blockcommit failed: the error messase as below:
error: Requested operation is not valid: domain is not running
when I start the VM, the virsh blockcommit work fine!
my question is:we need
2013 Dec 02
2
Virsh snapshots
Hello,
I am working on my PhD thesis and it would be really helpfull if someone
could advise me, whether can Virsh create snapshots of VMs using
copy-on-write.
Thanks for reply.
Juraj