<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Allon,</p>
<p><br>
</p>
<p>I am trying to leverage snapshot capability of underlying filesystem.</p>
<p><span style="font-size: 12pt;">As per my understanding current snapshot </span><span style="font-size: 12pt;"></span><span style="font-size: 12pt;">works like this:</span></p>
<p>Base Image(raw)--->snap1(qcow)->snap2(qcow), i.e after each snapshot vm starts writing on newly created qcow image.</p>
<p>So in this case vm is going to do all new writes on snap2(qcow) voulme and will redirect read IOs to snap1 & Base image as required.</p>
<p><br>
</p>
<p>But in my case snapshots created by the filesystem are read only and it's in raw format.</p>
<p>As a result after creating snapshot vm disk configuration won't change after taking snapshot but will continue doing writes on same base image.</p>
<p>So snapshots will look like this:</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Base Image(raw)--->snap1(raw)->snap2(raw)</span><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Base Image will always remain writable, while the snapshots
will remain read only raw format.</span></p>
<p><br>
</p>
<p>Just wanted to confirm is this configurable so that vm continues referring base image after the snapshot instead of newly created qcow image?</p>
<p><br>
</p>
<p>Thanks & Regards,</p>
<p>Deepak</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p><br>
</p>
<p> </p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Allon Mureinik <amureini@redhat.com><br>
<b>Sent:</b> Tuesday, June 20, 2017 7:59:03 PM<br>
<b>To:</b> Deepak Jagtap<br>
<b>Cc:</b> devel@ovirt.org<br>
<b>Subject:</b> Re: [ovirt-devel] Snapshots & clone support from datastore</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:monospace,monospace">Not sure I understand the question. Could you give an example of what you mean perhpas?</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 20, 2017 at 10:01 PM, Deepak Jagtap <span dir="ltr">
<<a href="mailto:deepak.jagtap@maxta.com" target="_blank">deepak.jagtap@maxta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div id="m_5891938740723837127divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hi Allon,</p>
<p><br>
</p>
<p>After going through current vdsm code base, noticed that after taking a snapshot vm starts referring the newly created qcow image/volume.</p>
<p>For internal snapshots which are not qcow is it configurable somehow so that vm continues doing writes to same base image?</p>
<p><br>
</p>
<p>Thanks & Regards,</p>
<p>Deepak</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_5891938740723837127divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Deepak Jagtap<br>
<b>Sent:</b> Tuesday, June 6, 2017 3:37:03 PM<br>
<b>To:</b> Allon Mureinik<span class=""><br>
<b>Cc:</b> <a href="mailto:devel@ovirt.org" target="_blank">devel@ovirt.org</a><br>
<b>Subject:</b> Re: [ovirt-devel] Snapshots & clone support from datastore</span></font>
<div> </div>
</div>
<span class="">
<div>
<div id="m_5891938740723837127divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Thanks Allon!</p>
<p><br>
</p>
<p>Best Regards,</p>
<p>Deepak</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_5891938740723837127divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Allon Mureinik <<a href="mailto:amureini@redhat.com" target="_blank">amureini@redhat.com</a>><br>
<b>Sent:</b> Tuesday, June 6, 2017 2:43:17 PM<br>
<b>To:</b> Deepak Jagtap<br>
<b>Cc:</b> <a href="mailto:devel@ovirt.org" target="_blank">devel@ovirt.org</a><br>
<b>Subject:</b> Re: [ovirt-devel] Snapshots & clone support from datastore</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:monospace,monospace">Unfortunately, there's no such integration point at the moment.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 6, 2017 at 5:57 AM, Deepak Jagtap <span dir="ltr">
<<a href="mailto:deepak.jagtap@maxta.com" target="_blank">deepak.jagtap@maxta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_5891938740723837127m_-4873246095173968224divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hey Guys,</p>
<p><br>
</p>
<p>I am newbie to ovirt, and wanted to confirm whats the best way to leverage snapshot, clone features </p>
<p>provided by the datastore filesystem.</p>
<p>I have a btrfs datastore exported and wanted use btrfs snapshots for vm snapshot & clones.</p>
<p>Does ovirt offers any hooks/APIs so that image snapshots are created by the filesystem?</p>
<p><br>
</p>
<p>Thanks & Regards,</p>
<p>Deepak</p>
<p> </p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>