--_000_MWHPR11MB1663D3BF9B01DB6E1142AB1DEDDA0MWHPR11MB1663namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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?
Thanks & Regards,
Deepak
________________________________
From: Allon Mureinik <amureini(a)redhat.com
Sent:
Tuesday, June 20, 2017 7:59:03 PM
To: Deepak Jagtap
Cc: devel(a)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
--_000_MWHPR11MB1663D3BF9B01DB6E1142AB1DEDDA0MWHPR11MB1663namp_
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>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 snapsho=
t </span><span style=3D"font-size:
12pt;"></span><span style=3D"font-s=
ize: 12pt;">works like this:</span></p
<p>Base Image(raw)--->snap1(qcow)->snap2(qcow),
i.e after each s=
napshot 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, Emoji=
Font, "Apple Color Emoji", "Segoe UI Emoji",
NotoColorE=
moji, "Segoe UI Symbol", "Android Emoji",
EmojiSymbols;=
font-size: 16px;">Base
Image(raw)--->snap1(raw)->snap2(raw)</span><b=
r
</p
<p><span
style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, Emoji=
Font, "Apple Color Emoji", "Segoe UI Emoji",
NotoColorE=
moji, "Segoe UI Symbol", "Android Emoji",
EmojiSymbols;=
font-size: 16px;">Base Image will always remain writable, while the s=
napshots
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
<p><br
</p
<p>Thanks &
Regards,</p
<p>Deepak</p
<p><span style=3D"font-family: Calibri, Arial,
Helvetica, sans-serif, Emoji=
Font, "Apple Color Emoji", "Segoe UI Emoji",
NotoColorE=
moji, "Segoe UI Symbol", "Android Emoji",
EmojiSymbols;=
font-size: 16px;"><br
</span></p
<p><span style=3D"font-family: Calibri, Arial,
Helvetica, sans-serif, Emoji=
Font, "Apple Color Emoji", "Segoe UI Emoji",
NotoColorE=
moji, "Segoe UI Symbol", "Android Emoji",
EmojiSymbols;=
font-size: 16px;"><br
</span></p
<p><br
</p
<p> </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>
Allon Mureinik <am=
ureini(a)redhat.com&gt;<br
<b>Sent:</b> Tuesday,
June 20, 2017 7:59:03 PM<br
<b>To:</b> Deepak
Jagtap<br
<b>Cc:</b>
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"
<div class=3D"gmail_default"
style=3D"font-family:monospace,monospace">Not =
sure I understand the question. 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_5891938740723837127divtagdefaultwrapper" style=3D"font-size:12=
pt;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_5891938740723837127divRplyFwdMsg" dir=3D"ltr"><font
face=3D"Ca=
libri, 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 class=3D""><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
class=3D""
<div
<div
id=3D"m_5891938740723837127divtagdefaultwrapper" style=3D"font-size:12=
pt;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_5891938740723837127divRplyFwdMsg" dir=3D"ltr"><font
face=3D"Ca=
libri, 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 class=3D"gmail_default"
style=3D"font-family:monospace,monospace">Unfo=
rtunately, there's no such 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_5891938740723837127m_-4873246095173968224divtagdefaultwrapper"=
style=3D"font-size:12pt;color:#000000;font-family:Calibri,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
</body
</html
--_000_MWHPR11MB1663D3BF9B01DB6E1142AB1DEDDA0MWHPR11MB1663namp_--