
This is a multi-part message in MIME format. --------------060105060909030102090004 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 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 space)
databases: - prepare databases for snapshot (flush,write-lock) - send snapshot-complete and unlock
-- Ernest Beinrohr, AXON PRO Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>, +421-2-62410360 +421-903-482603
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 7692306 8272306 Email: ydary@redhat.com IRC : ydary --------------060105060909030102090004 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <pre wrap="">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. </pre> <br> <br> <div class="moz-cite-prefix">On 05/12/2015 02:56 PM, Ernest Beinrohr wrote:<br> </div> <blockquote cite="mid:5551EA74.4070205@axonpro.sk" type="cite"> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> 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:<br> <br> linux vms:<br> - sync<br> - echo 3 > /proc/sys/vm/drop_caches<br> - zerofill empty space (this takes long but saves precious backup space)<br> <br> databases:<br> - prepare databases for snapshot (flush,write-lock)<br> - send snapshot-complete and unlock<br> <br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> <a moz-do-not-send="true" style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a moz-do-not-send="true" style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a moz-do-not-send="true" style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a moz-do-not-send="true" style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a moz-do-not-send="true" style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/vca.php">VCA</a>, <br> +421-2-62410360 +421-903-482603 <br> </span> </div> <img src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk" moz-do-not-send="true" border="0" height="1" width="1"> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 7692306 8272306 Email: <a class="moz-txt-link-abbreviated" href="mailto:ydary@redhat.com">ydary@redhat.com</a> IRC : ydary</pre> </body> </html> --------------060105060909030102090004--