Re: [ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?

2015-05-17 Thread Yaniv Dary
We use libvirt VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE flag, which uses guest agent to quiesce all mounted file systems within the domain. The qemu guest agent implements fsfreeze/fsthaw commands, which do the quiescing. On 05/12/2015 02:56 PM, Ernest Beinrohr wrote: It would be nice, if ovirt

Re: [ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?

2015-05-17 Thread Markus Stockhausen
Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von Yaniv Dary [yd...@redhat.com] Gesendet: Sonntag, 17. Mai 2015 09:53 An: Ernest Beinrohr; users Betreff: Re: [ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots? We use libvirt

[ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?

2015-05-12 Thread Ernest Beinrohr
It would be nice, if ovirt snapshots were more safe. When a VM has the ovirt-agent installed, ovirt could tell the agent to run site-speficic actions. What I have in mind is: linux vms: - sync - echo 3 /proc/sys/vm/drop_caches - zerofill empty space (this takes long but saves precious backup