--_000_MWHPR11MB1663B80CFB0DAD1AD0B0C09CEDDA0MWHPR11MB1663namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Thanks Yaniv!
________________________________
From: Yaniv Kaul <ykaul(a)redhat.com
Sent:
Wednesday, June 21, 2017 1:47:26 PM
To: Deepak Jagtap
Cc: Allon Mureinik; devel(a)ovirt.org
Subject: Re: [ovirt-devel] Snapshots & clone support from datastore
On Wed, Jun 21, 2017 at 10:28 PM, Deepak Jagtap <deepak.jagtap(a)maxta.com<ma=
ilto:deepak.jagtap@maxta.com>> wrote:
Hi Allon,
I am trying to leverage snapshot capability of underlying filesystem.
As per my understanding current snapshot works like this:
Base Image(raw)--->snap1(qcow)->snap2(qcow), i.e after each snapshot vm sta=
rts writing on newly created qcow image.
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.
But in my case snapshots created by the filesystem are read only and it's i=
n raw format.
As a result after creating snapshot vm disk configuration won't change afte=
r taking snapshot but will continue doing writes on same base image.
So snapshots will look like this:
Base Image(raw)--->snap1(raw)->snap2(raw)
Base Image will always remain writable, while the snapshots will remain rea=
d only raw format.
Just wanted to confirm is this configurable so that vm continues referring=
base image after the snapshot instead of newly created qcow image?
It is not. It'll need code modification to allow externally taking snapshot=
s of VM disks.
Y.
Thanks & Regards,
Deepak
________________________________
From: Allon Mureinik <amureini@redhat.com<mailto:amureini@redhat.com>
Sent: Tuesday, June 20, 2017 7:59:03 PM
To: Deepak Jagtap
Cc: devel@ovirt.org<mailto:devel@ovirt.org
Subject:
Re: [ovirt-devel] Snapshots & clone support from datastore
Not sure I understand the question. Could you give an example of what you m=
ean perhpas?
On Tue, Jun 20, 2017 at 10:01 PM, Deepak Jagtap <deepak.jagtap(a)maxta.com<ma=
ilto:deepak.jagtap@maxta.com>> wrote:
Hi Allon,
After going through current vdsm code base, noticed that after taking a sna=
pshot vm starts referring the newly created qcow image/volume.
For internal snapshots which are not qcow is it configurable somehow so th=
at vm continues doing writes to same base image?
Thanks & Regards,
Deepak
________________________________
From: Deepak Jagtap
Sent: Tuesday, June 6, 2017 3:37:03 PM
To: Allon Mureinik
Cc: devel@ovirt.org<mailto:devel@ovirt.org
Subject:
Re: [ovirt-devel] Snapshots & clone support from datastore
Thanks Allon!
Best Regards,
Deepak
________________________________
From: Allon Mureinik <amureini@redhat.com<mailto:amureini@redhat.com>
Sent: Tuesday, June 6, 2017 2:43:17 PM
To: Deepak Jagtap
Cc: devel@ovirt.org<mailto:devel@ovirt.org
Subject:
Re: [ovirt-devel] Snapshots & clone support from datastore
Unfortunately, there's no such integration point at the moment.
On Tue, Jun 6, 2017 at 5:57 AM, Deepak Jagtap <deepak.jagtap(a)maxta.com<mail=
to:deepak.jagtap@maxta.com>> wrote:
Hey Guys,
I am newbie to ovirt, and wanted to confirm whats the best way to leverage =
snapshot, clone features
provided by the datastore filesystem.
I have a btrfs datastore exported and wanted use btrfs snapshots for vm sna=
pshot & clones.
Does ovirt offers any hooks/APIs so that image snapshots are created by the=
filesystem?
Thanks & Regards,
Deepak
_______________________________________________
Devel mailing list
Devel@ovirt.org<mailto:Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@ovirt.org<mailto:Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
--_000_MWHPR11MB1663B80CFB0DAD1AD0B0C09CEDDA0MWHPR11MB1663namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html
<head
<meta http-equiv=3D"Content-Type"
content=3D"text/html; charset=3Dus-ascii"=
</head
<body
<style
type=3D"text/css" style=3D"display:none;"><!-- P
{margin-top:0;margi=
n-bottom:0;} --></style
<div
id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr"
<p>Thanks Yaniv!</p
</div
<hr
style=3D"display:inline-block;width:98%" tabindex=3D"-1"
<div id=3D"divRplyFwdMsg"
dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b>
Yaniv Kaul <ykaul@=
redhat.com><br
<b>Sent:</b> Wednesday,
June 21, 2017 1:47:26 PM<br
<b>To:</b> Deepak
Jagtap<br
<b>Cc:</b> Allon
Mureinik; devel(a)ovirt.org<br
<b>Subject:</b> Re:
[ovirt-devel] Snapshots & clone support from datast=
ore</font
<div> </div
</div
<div
<div
dir=3D"ltr"><br
<div
class=3D"gmail_extra"><br
<div
class=3D"gmail_quote">On Wed, Jun 21, 2017 at 10:28 PM, Deepak Jagtap =
<span dir=3D"ltr"
<<a
href=3D"mailto:deepak.jagtap@maxta.com"
target=3D"_blank">deepak.jag=
tap(a)maxta.com</a>&gt;</span> wrote:<br
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"
<div
<div
id=3D"m_-9072135902178749810divtagdefaultwrapper" style=3D"font-size:1=
2pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir=3D"lt=
r"
<p>Hi Allon,</p
<p><br
</p
<p>I am trying to leverage snapshot capability of
underlying fil=
esystem.</p
<p><span
style=3D"font-size:12pt">As per my understanding current snapshot&=
nbsp;</span><span style=3D"font-size:12pt"></span><span
style=3D"font-size:=
12pt">works like this:</span></p
<p>Base Image(raw)--->snap1(qcow)-><wbr>snap2(qcow),
i.e after e=
ach 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 a=
nd 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 a=
fter taking snapshot but will continue doing writes on same base image.</p
<p>So snapshots will look like this:</p
<p><span
style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,=
"Apple Color Emoji","Segoe UI
Emoji",NotoColorEmoji,&qu=
ot;Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:1=
6px">Base
Image(raw)--->snap1(raw)-><wbr>snap2(raw)</span><br
</p
<p><span
style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,=
"Apple Color Emoji","Segoe UI
Emoji",NotoColorEmoji,&qu=
ot;Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:1=
6px">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
r=
eferring base image after the snapshot instead of newly created qcow image?=
</p
</div
</div
</blockquote
<div><br
</div
<div>It is not. It'll need
code modification to allow externally taking sna=
pshots of VM disks.</div
<div>Y.</div
<div> </div
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"
<div
<div
id=3D"m_-9072135902178749810divtagdefaultwrapper" style=3D"font-size:1=
2pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir=3D"lt=
r"
<p><br
</p
<p>Thanks &
Regards,</p
<p>Deepak</p
<p><span
style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,=
"Apple Color Emoji","Segoe UI
Emoji",NotoColorEmoji,&qu=
ot;Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:1=
6px"><br
</span></p
<p><span
style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,=
"Apple Color Emoji","Segoe UI
Emoji",NotoColorEmoji,&qu=
ot;Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:1=
6px"><br
</span></p
<p><br
</p
<p> </p
</div
<hr
style=3D"display:inline-block;width:98%"
<div
id=3D"m_-9072135902178749810divRplyFwdMsg" dir=3D"ltr"><font
face=3D"C=
alibri, sans-serif" style=3D"font-size:11pt"
color=3D"#000000"><b>From:</b>=
Allon Mureinik <<a href=3D"mailto:amureini@redhat.com"
target=3D"_blank=
">amureini(a)redhat.com</a>&gt;<br
<b>Sent:</b> Tuesday, June 20, 2017 7:59:03 PM
<div
<div class=3D"h5"><br
<b>To:</b> Deepak Jagtap<br
<b>Cc:</b> <a
href=3D"mailto:devel@ovirt.org" target=3D"_blank">devel@ovirt=
.org</a><br
<b>Subject:</b> Re:
[ovirt-devel] Snapshots & clone support from datast=
ore</div
</div
</font
<div> </div
</div
<div
<div
class=3D"h5"
<div
<div
dir=3D"ltr"
<div
style=3D"font-family:monospace,monospace">Not sure I understand the qu=
estion. Could you give an example of what you mean perhpas?</div
</div
<div
class=3D"gmail_extra"><br
<div
class=3D"gmail_quote">On Tue, Jun 20, 2017 at 10:01 PM, Deepak Jagtap =
<span dir=3D"ltr"
<<a
href=3D"mailto:deepak.jagtap@maxta.com"
target=3D"_blank">deepak.jag=
tap(a)maxta.com</a>&gt;</span> wrote:<br
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"
<div
<div
id=3D"m_-9072135902178749810m_5891938740723837127divtagdefaultwrapper"=
style=3D"font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,=
sans-serif" dir=3D"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=3D"display:inline-block;width:98%"
<div
id=3D"m_-9072135902178749810m_5891938740723837127divRplyFwdMsg" dir=3D=
"ltr"><font face=3D"Calibri, sans-serif"
style=3D"font-size:11pt" color=3D"=
#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><br
<b>Cc:</b> <a
href=3D"mailto:devel@ovirt.org" target=3D"_blank">devel@ovirt=
.org</a><br
<b>Subject:</b> Re:
[ovirt-devel] Snapshots & clone support from datast=
ore</span></font
<div> </div
</div
<span
<div
<div
id=3D"m_-9072135902178749810m_5891938740723837127divtagdefaultwrapper"=
style=3D"font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,=
sans-serif" dir=3D"ltr"
<p>Thanks Allon!</p
<p><br
</p
<p>Best Regards,</p
<p>Deepak</p
</div
<hr
style=3D"display:inline-block;width:98%"
<div
id=3D"m_-9072135902178749810m_5891938740723837127divRplyFwdMsg" dir=3D=
"ltr"><font face=3D"Calibri, sans-serif"
style=3D"font-size:11pt" color=3D"=
#000000"><b>From:</b> Allon Mureinik <<a
href=3D"mailto:amureini@redhat.=
com" target=3D"_blank">amureini(a)redhat.com</a>&gt;<br
<b>Sent:</b> Tuesday, June 6, 2017 2:43:17
PM<br
<b>To:</b> Deepak
Jagtap<br
<b>Cc:</b> <a
href=3D"mailto:devel@ovirt.org" target=3D"_blank">devel@ovirt=
.org</a><br
<b>Subject:</b> Re:
[ovirt-devel] Snapshots & clone support from datast=
ore</font
<div> </div
</div
<div
<div dir=3D"ltr"
<div
style=3D"font-family:monospace,monospace">Unfortunately, there's no su=
ch integration point at the moment.</div
</div
<div
class=3D"gmail_extra"><br
<div
class=3D"gmail_quote">On Tue, Jun 6, 2017 at 5:57 AM, Deepak Jagtap <s=
pan dir=3D"ltr"
<<a
href=3D"mailto:deepak.jagtap@maxta.com"
target=3D"_blank">deepak.jag=
tap(a)maxta.com</a>&gt;</span> wrote:<br
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"
<div
dir=3D"ltr"
<div
id=3D"m_-9072135902178749810m_5891938740723837127m_-487324609517396822=
4divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font-family:Ca=
libri,Arial,Helvetica,sans-serif" dir=3D"ltr"
<p>Hey Guys,</p
<p><br
</p
<p>I am newbie to ovirt, and
wanted to confirm whats the best way to levera=
ge snapshot, clone features </p
<p>provided by the datastore filesystem.</p
<p>I have a btrfs datastore exported and wanted use btrfs snapshots
fo=
r 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=3D"mailto:Devel@ovirt.org"
target=3D"_blank">Devel(a)ovirt.org</a><br=
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/devel" rel=3D"noreferrer=
"
target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/...
br
</blockquote
</div
<br
</div
</div
</div
</span></div
</blockquote
</div
<br
</div
</div
</div
</div
</div
<br
______________________________<wbr>_________________<br
Devel mailing list<br
<a
href=3D"mailto:Devel@ovirt.org">Devel@ovirt.org</a><br
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/devel" rel=3D"noreferrer=
"
target=3D"_blank">http://lists.ovirt.org/<wbr>mailman/...
br
</blockquote
</div
<br
</div
</div
</div
</body
</html
--_000_MWHPR11MB1663B80CFB0DAD1AD0B0C09CEDDA0MWHPR11MB1663namp_--