Displaying 20 results from an estimated 4000 matches similar to: "difference between ` virsh save ` and `virsh snapshot"
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
2015 Nov 19
2
Can't take live snapshot, not supported with this QEMU binary
Hi all,
I was trying to take live snapshot of VMs, but I got the following error:
[root@localhost ~]# virsh snapshot-create-as 1 test desc --live
--memspec file=mem.bak,snapshot=external --diskspec
vda,snapshot=external,file=/root/root.bak.qcow2
error: Operation not supported: live disk snapshot not supported with
this QEMU binary
I upgraded my qemu-kvm 0.12.1 to qemu 1.2, the error still
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 Aug 07
3
virsh create snapshot not honoring diskspec?
Hi,
I'm trying to create a snapshot on a specific disk by using diskspec
option. However, libvirt/virsh seems to ignore it and takes a snapshot of
all disks. Am I using this option incorrectly?
In below examples, I'm trying to snapshot only vdb. However even vda is
getting snapshotted regardless of diskspec. Is this a known issue?
I'm on CentOS 7.1, libvirtd (libvirt) 1.2.8, virsh
2012 Sep 13
1
how make the pool to be inactive?
hi,all
I want to delete the storage pool,but libvirt tell me say:
> error: Failed to delete pool virtimages
>
> error: Requested operation is not valid: storage pool is still active
>
>
>
the question is how to make the pool's status to be inactive?
thanks
liuzhijun
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Dec 04
2
Re: Virsh snapshots
Thanks for your answer,
I am trying to make a snapshot of whole virtual machine (disk, CPU
state, memory). But I need to make this snapshot in matter of seconds.
I have already try to create snapshot of disk, which is not problem. I
use qcow2 format, and create new disk image using original disk image as
backing file. But still I am not able to assign state of vm with new disk.
I have found
2016 Apr 11
2
Clone VM with saved state
Hi,
My use case involves creating duplicates of saved virtual machines.
Tried with virt-manager and with virsh but so far it seems like this case
is not supported by these tools.
Does anyone know how I could achieve the above?
Thanks,
Michael
2019 Mar 20
2
virsh snapshot-create-as: change umask on snapshots
I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
virsh snapshot-create-as --domain hq-live-v01 \
--name snappy \
--diskspec vda,file=/var/lib/libvirt/images/hq-live-v01.snappy,snapshot=external \
--diskspec vdb,file=/var/lib/libvirt/images/hq-live-storage.snappy,snapshot=external \
--disk-only --quiesce --atomic
This
2020 Aug 13
1
kvm & external snapshots
Everyone,
I am trying to create external snapshots of a kvm guest machine and have not been able to
do so.
In accordance with :
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-troubleshooting-workaround_for_creating_external_snapshots_with_libvirt
I have used the command line :
snapshot-create-as --diskspec
2019 Mar 22
1
Re: virsh snapshot-create-as: change umask on snapshots
On Wed, Mar 20, 2019 at 15:48:43 -0500, Eric Blake wrote:
> On 3/20/19 1:50 PM, Mircea Husz wrote:
> > I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
> >
> > virsh snapshot-create-as --domain hq-live-v01 \
> > --name snappy \
> > --diskspec
2020 Jul 11
1
Help with external snapshots as backups
Hi,
I have a win10 guest on a fedora32 system and have some questions as I
explore using external snapshots as a form of backup in case of a
Windows failure (as in, it won't boot or is completely irrecoverable) as
well as revision control (to be able to rollback changes after a failed
app install, etc).
The first hit on Google for external snapshots involves a RHEL7 document
that talks
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
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 Feb 16
2
Re: snapshot of a raw file - how to revert ?
On Fri, Feb 16, 2018 at 04:37:38PM +0100, Lentes, Bernd wrote:
[...]
> Hi,
>
> again thanks for your quick answer. I had a look on
> https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
> and i liked it. I'm thinking of upgrading my systems to SLES 12 SP3.
> With that i have qemu 2.9.1 and libvirt 3.3.0, so it should work.
Yep.
> Does this procedure
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
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
2012 Aug 02
2
libvirt windows error
hi,all,I install the libvirt windows version ,now i type "virsh" in cmd
env:windows7 (ip:192.168.0.15)
the error is :
info : libvirt version: 0.8.8
error : vboxLookupVersionInRegistry:401 : Could not parse version number
from '%VER%'
what's problem.thanks advance!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2019 May 29
2
Snapshot of single block device
Hello!
I have a guest with one qcow2 disk image (vda) and one physical
partition (sda) from host. When I'm trying to get snapshot with:
virsh snapshot-create-as .....
It fails with message: error: unsupported configuration: source for
disk 'sda' is not a regular file; refusing to generate external
snapshot name
I understand, that it is not possible to make a snapshot of physical
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>
>
2012 May 28
3
some problem with snapshot by libvirt
Hi,all,i am using libvirt to manage my vm,in these days i am testing
the libvirt snapshot ,but meet some problem:
the snapshot was created from this command:
snapshot-create-as win7 --disk-only --diskspec
vda,snapshot=external --diskspec hda,snapshot=no
but when i tried to revert from the snapshot which created from the
above command ,i got error below:
virsh # snapshot-revert win7