Re: [libvirt-users] snapshots with virsh in a pacemaker cluster

2018-10-15 Thread Lentes, Bernd
- Am 15. Okt 2018 um 21:47 schrieb Peter Crowther peter.crowt...@melandra.com: > Pacemaker always knows where its resources are running. Query it, stop the > domain, then use the queried location as the host to which to issue the > snapshot? But can i be sure that the resource starts on th

Re: [libvirt-users] snapshots with virsh in a pacemaker cluster

2018-10-15 Thread Doug Hughes
I snapshot my guests live with qemu-guest-agent. It works pretty much flawlessly with qcow2, but even with raw I can almost always boot off of a snapshot. I combine this with zfs and hourly snapshots and replication and have a really usable backup and DR system that works with my guests, both W

Re: [libvirt-users] snapshots with virsh in a pacemaker cluster

2018-10-15 Thread Peter Crowther
Pacemaker always knows where its resources are running. Query it, stop the domain, then use the queried location as the host to which to issue the snapshot? Cheers, Peter On Mon, 15 Oct 2018, 20:36 Lentes, Bernd, < bernd.len...@helmholtz-muenchen.de> wrote: > Hi, > > i have a two node cluster w

[libvirt-users] snapshots with virsh in a pacemaker cluster

2018-10-15 Thread Lentes, Bernd
Hi, i have a two node cluster with virtual guests as resources. I'd like to snapshot the guests once in the night and thought i had a procedure. But i realize that things in a cluster are a bit more complicated than expected :-)) I will shutdown the guests to have a clean snapshot. I can shutdow

Re: [libvirt-users] snapshots handout

2016-09-07 Thread gunnar . wagner
thks for clarifying. Will take a look @ the youtube recommended.On September 5, 2016 at 5:32 PM Kashyap Chamarthy wrote:On Sat, Sep 03, 2016 at 02:39:11PM +0800, gunnar.wag...@netcologne.de wrote:hi all & @Kashyapdoes this handout onsnapshotsby Kashyap Chamarthy (I believe from 2012) still apply

Re: [libvirt-users] snapshots handout

2016-09-05 Thread Kashyap Chamarthy
On Sat, Sep 03, 2016 at 02:39:11PM +0800, gunnar.wag...@netcologne.de wrote: > hi all & @Kayshap > > does [this handout on > snapshots](https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html) > by Kashyap Chamarthy (I believe from 2012) still apply to current > versions of libvirt-b

[libvirt-users] snapshots handout

2016-09-02 Thread gunnar . wagner
hi all & @Kayshap does [this handout on snapshots](https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html) by Kashyap Chamarthy (I believe from 2012) still apply to current versions of libvirt-bin & qemu? - ubuntu: 14.04 - qemu: 2.0.0 - libvirt-bin 1.2.2-0ubuntu13.1.17 if not,

Re: [libvirt-users] Snapshots vs filesystem shares

2015-06-27 Thread anonym
Gentle ping, ~6 weeks later. :) On 05/16/2015 08:08 PM, anonym wrote: > [Please keep me Cc:ed since I'm not subscribed to the list!] > > Hi list, > > The tl;dr; is: with Libvirt/QEMU, should it be possible to mount a > filesystem share (of type='mount') after restoring from a snapshot that > was

Re: [libvirt-users] snapshots and vmdk

2015-06-01 Thread Kashyap Chamarthy
On Mon, Jun 01, 2015 at 11:24:49AM +0200, Kashyap Chamarthy wrote: > On Sat, May 30, 2015 at 02:35:51AM +, Boylan, Ross wrote: > > Does libvirt support snapshotting when the virtual disk comes from a > > vmdk file? Also, Stefan Hajnoczi from the QEMU project, points out: QEMU's implementa

Re: [libvirt-users] snapshots and vmdk

2015-06-01 Thread Kashyap Chamarthy
On Sat, May 30, 2015 at 02:35:51AM +, Boylan, Ross wrote: > Does libvirt support snapshotting when the virtual disk comes from a > vmdk file? >From my quick test (refer below), seems like you can at-least use VMDK as a backing file. > http://wiki.libvirt.org/page/Snapshots#Desired_functionali

[libvirt-users] snapshots and vmdk

2015-05-29 Thread Boylan, Ross
Does libvirt support snapshotting when the virtual disk comes from a vmdk file? http://wiki.libvirt.org/page/Snapshots#Desired_functionality seems to say no, since it says "'virsh snapshot', which requires all disk images to be qcow2". OTOH, man virsh, http://libvirt.org/formatsnapshot.html,

[libvirt-users] Snapshots vs filesystem shares

2015-05-16 Thread anonym
[Please keep me Cc:ed since I'm not subscribed to the list!] Hi list, The tl;dr; is: with Libvirt/QEMU, should it be possible to mount a filesystem share (of type='mount') after restoring from a snapshot that was taken when the filesystem share wasn't mounted? It's pretty clear that Libvirt/QEMU

Re: [libvirt-users] snapshots and qcow2

2014-12-08 Thread Laszlo Hornyak
Hi Eric, Thank you for the reply, yes indeed the qcow2 file takes only a few GB on disk. On Mon, Dec 8, 2014 at 11:41 PM, Eric Blake wrote: > On 12/08/2014 03:03 PM, Laszlo Hornyak wrote: > > Hi, > > > > I ran into a strange behavior with libvirt snapshots. I have some vms > > running with th

Re: [libvirt-users] snapshots and qcow2

2014-12-08 Thread Eric Blake
On 12/08/2014 03:03 PM, Laszlo Hornyak wrote: > Hi, > > I ran into a strange behavior with libvirt snapshots. I have some vms > running with thin-provisioned qcow2 disk images (libvirt 1.1.3 with fedora > 20). > * When I create a snapshot on the VM, the qcow file suddenly grows big, > somewhat big

[libvirt-users] snapshots and qcow2

2014-12-08 Thread Laszlo Hornyak
Hi, I ran into a strange behavior with libvirt snapshots. I have some vms running with thin-provisioned qcow2 disk images (libvirt 1.1.3 with fedora 20). * When I create a snapshot on the VM, the qcow file suddenly grows big, somewhat bigger than the maximum size of the disk. * When I delete the s

Re: [libvirt-users] Snapshots

2014-04-17 Thread Martin Kletzander
On Wed, Apr 16, 2014 at 10:55:11PM +0200, lukass.va...@seznam.cz wrote: Hello, I would like to ask what I am doing  wrong and what is the best approach to resolve this situation: First of all I start virtual machine by virDomainCreateXML. In my application I use libvncclient library that sends m

[libvirt-users] Snapshots

2014-04-16 Thread lukass.vacek
Hello, I would like to ask what I am doing  wrong and what is the best approach to resolve this situation: First of all I start virtual machine by virDomainCreateXML. In my application I use libvncclient library that sends mouse events to this running domain. I had some troubles with coordinate

Re: [libvirt-users] Snapshots: Where they are stored and how to use them?

2013-10-02 Thread Kashyap Chamarthy
On 10/02/2013 09:26 PM, Roland Giesler wrote: > Firstly I'd like to learn where a snapshot is stored once it has been > made. If you've created external snapshots, then all the files should be under /var/lib/libvirt/images/ Here's just a quick test I did on my laptop: Before snapshot:

Re: [libvirt-users] Snapshots: Where they are stored and how to use them?

2013-10-02 Thread Eric Blake
On 10/02/2013 09:56 AM, Roland Giesler wrote: > Firstly I'd like to learn where a snapshot is stored once it has been > made. That depends - did you create an external or an internal snapshot? 'virsh snapshot-info Windows Windows' will help. > I understand that the principle is that when changes

[libvirt-users] Snapshots: Where they are stored and how to use them?

2013-10-02 Thread Roland Giesler
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 tha

Re: [libvirt-users] Snapshots - can't take a snapshot with running VM

2010-06-17 Thread Julian Robbins
On 17/06/10 11:40, Julian Robbins wrote: On 15/06/10 17:53, Julian Robbins wrote: I'm using vers 1.84 of QEMU/Kvm from dnjl's PPA for Lucid. After trying again, I can no longer get snapshots to work whilst vm guest in running. I have disabled apparmor so that it is only in 'complain' mode o

Re: [libvirt-users] Snapshots - can't take a snapshot with running VM

2010-06-17 Thread Julian Robbins
On 15/06/10 17:53, Julian Robbins wrote: > Can I really only create snapshots of a vm when it isnt running ? No, you should be able to take a snapshot both while it is running and while it is off. However, they use different mechanisms so there could be a bug in the online version. What vers

Re: [libvirt-users] Snapshots - can't take a snapshot with running VM

2010-06-15 Thread Julian Robbins
> Can I really only create snapshots of a vm when it isnt running ? No, you should be able to take a snapshot both while it is running and while it is off. However, they use different mechanisms so there could be a bug in the online version. What version of qemu/kvm are you running? Also, do

Re: [libvirt-users] Snapshots - can't take a snapshot with running VM

2010-06-15 Thread Chris Lalancette
On 06/15/10 - 01:11:53PM, Julian Robbins wrote: > Hi > > I'm quite new to KVM/libvirt0 so hope you can help > > I'm using Ubuntu Lucid 10.04 and libvirt0 0.8.1 > > When I try a :- > > snapshot create vm_name > > I get an error, ie 'error -5 while writing' > > Googling doesnt bring anything up

[libvirt-users] Snapshots - can't take a snapshot with running VM

2010-06-15 Thread Julian Robbins
Hi I'm quite new to KVM/libvirt0 so hope you can help I'm using Ubuntu Lucid 10.04 and libvirt0 0.8.1 When I try a :- snapshot create vm_name I get an error, ie 'error -5 while writing' Googling doesnt bring anything up. Taking snapshots of a vm when it isnt running works fine. Can I real