Re: [libvirt-users] Incremental Backups

2013-09-20 Thread Thomas Stein
al' requested [DEB] Using timestamp '20130920-151742' [DEB] Snapshotting block devices for 'serve.lordcritical' using suffix 'bimg-20130920-151742' [VER] Snapshot for block devices of 'serve.lordcritical' successful [ERR] Error getting backing file for '/

[libvirt-users] Expanding an LVM Storage Pool

2013-09-20 Thread McEvoy, James
I looked around but could not find any info on how to expand a libvirt managed LVM storage pool. I do not see any virsh command to do it but I was successful using the vgexpand command to add some more storage once I destroyed the pools and then restarted it. I'd like to verify that this is t

[libvirt-users] Specify mount option for Storage-Pool

2013-09-20 Thread Jorge Fábregas
Hi, I've changed the "default" storage-pool from "directory-based" to a "pre-formatted block-device" since my /var/lib/libvirt/images is on a partition of its own. I would like to use the "discard" option as well as other (noatime etc) on this filesystem. Is there a way to specify mount options

Re: [libvirt-users] Incremental Backups

2013-09-20 Thread Davide Guerri
Hi Fernando, unfortunately that requires a totally different approach. My script is very basic and will only work for qcow2 images. Sorry. Best, Davide. 2013/9/20 > ** > > Hi Davide, > > Hi Thomas, > I'm using this script which leverages external snapshots and blockpull: > https://github.co

Re: [libvirt-users] Incremental Backups

2013-09-20 Thread fernando
Hi Davide, > Hi Thomas, > I'm using this script which leverages external snapshots and blockpull: https://github.com/dguerri/LibVirtKvm-scripts [1] > > It's very simple and on ubuntu requires some tweaks on apparmour configuration. Would it be hard to adapt this script for LVM-backed VMs?

Re: [libvirt-users] Incremental Backups

2013-09-20 Thread Davide Guerri
Hi > hn LibVirtKvm-scripts # ./fi-backup.sh -b /opt/virt-backup-local/ -d > serve.lordcritical > [DEB] qemu-img version '1.6.0' is supported > [DEB] KVM version '1.6.0,' is supported > [DEB] Snapshot for domain 'serve.lordcritical' requested >

Re: [libvirt-users] Incremental Backups

2013-09-20 Thread Thomas Stein
'serve.lordcritical' requested [DEB] Using timestamp '20130920-151742' [DEB] Snapshotting block devices for 'serve.lordcritical' using suffix 'bimg-20130920-151742' [VER] Snapshot for block devices of 'serve.lordcritical' successful [ERR] Error get

Re: [libvirt-users] Incremental Backups

2013-09-20 Thread Davide Guerri
Hi Thomas, I'm using this script which leverages external snapshots and blockpull: https://github.com/dguerri/LibVirtKvm-scripts It's very simple and on ubuntu requires some tweaks on apparmour configuration. Hth Cheers, Davide -- Davide Guerri http://about.me/davide_guerri > On 20 Sep 201

[libvirt-users] Incremental Backups

2013-09-20 Thread Thomas Stein
Hello. Is someone performing incremental backups via libvirt for qemu/kvm machines? I'm still having a hard time to find a nice procedure. I mean is it possible to make a full backup of an image on monday a do the next days of the week incremental backups? Another way could be mount the image

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-20 Thread Daniel P. Berrange
On Thu, Sep 19, 2013 at 05:43:58PM -0400, Jonathan Lebon wrote: > > As a test why not try hacking virsh console so that it connects to your > > virtio serial port, instead of a console. If we assume 'virsh console' > > is bug-free, that would let you identify whether the flaw is in your host > > co