Displaying 20 results from an estimated 8000 matches similar to: "qemu-img snapshots configuration"
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
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
>
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>
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
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
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
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
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
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> 写道:
2015 Oct 14
2
failed to pivot job for disk vdc
Hello,
I did a virsh snapshot-create-as --domain meta sn1 --diskspec
vda,file=/var/lib/libvirt/images/meta-sn1.qcow2 --disk-only
--atomic --no-metadata
Then I successfully blockcommitted 2 disks:
virsh blockcommit meta vda --active --verbose --pivot
virsh blockcommit meta vdb --active --verbose --pivot
But when doing
virsh blockcommit meta vdc --active --verbose --pivot
I got:
Block commit:
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
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 May 23
2
Re: Live snapshots of a single block device
----- Original Message -----
> From: "Eric Blake" <eblake@redhat.com> To: "Andrew Martin"
> <amartin@xes-inc.com>, libvirt-users@redhat.com Sent: Thursday, May 22, 2014
> 5:44:54 PM Subject: Re: [libvirt-users] Live snapshots of a single block
> device
>
> On 05/22/2014 04:31 PM, Andrew Martin wrote:
> > Hello,
> >
>
> [Can you
2019 Aug 02
2
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
Thank you for your help!
1, i used vda as install disk and vdb as target disk, because i boot from the first. After setup boot order flag i was able change install disk to vdb and target disk to vda. With this configuration when i boot from vdb i can install OS with grub and after it redefine XML without vdb without problem. Thanks a lot.
2, maybe i have something wrong, but still not working:
2019 Mar 15
1
KVM - full system ( disk+memory) snapshot by excluding the raw disks
Hi There ,
I have KVM VM with 4 qcow2 disks and 2 raw disks . when I try to take full system snapshot by excluding raw disks . it is give below error . can you help me how to fix this ?. or is it possible to take full system snapshot in this case .?.
When I change XMl as internal snapshots for raw disks . It throws a message snapshot are not supported on war disks .
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
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
2016 Jul 14
2
Changing a given image from virtio-blk to virtio-scsi
Any idea what 'virt-customize' script I should use to convert from
virtio-blk (vda, vdb...) to virtio-scsi (sda, sdb...) ?
I've tried naively to convince libvirt to use virtio-scsi and still present
it to the guest as 'vd*' - that didn't work (
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>