------=_NextPart_000_0025_01D18B5B.E2F532E0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0026_01D18B5B.E2F532E0"
------=_NextPart_001_0026_01D18B5B.E2F532E0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi,
@ I'm unsure if that size should change - we've allocated blocks, they =
are still allocated from our perspective. From the storage point of =
view, there's a hole that can be used for other purposes.
I'd look on the storage side.=20
=20
That=E2=80=99s the problem, if the space is still allocated it =
can=E2=80=99t be used for other VMs so it won=E2=80=99t help. Is there a =
possibility to deallocate the free Blocks of the Disk? I think =
virt-sparsify would do exactly that but can=E2=80=99t be used with =
ovirt?
=20
Thx
Christian
=20
=20
=20
=20
=20
Von: Yaniv Kaul [mailto:ykaul@redhat.com]=20
Gesendet: Donnerstag, 31. M=C3=A4rz 2016 14:33
An: Grundmann, Christian <Christian.Grundmann(a)fabasoft.com>
Cc: users(a)ovirt.org
Betreff: Re: [ovirt-users] Reclaim disk space of thin disks
=20
On Thu, Mar 31, 2016 at 1:16 PM, Grundmann, Christian =
<Christian.Grundmann(a)fabasoft.com =
<mailto:Christian.Grundmann@fabasoft.com> > wrote:
Hi,
@1. Did you use the hook?
yes, without the hook fstrim would not start,
@2. Where did you see it's the same size? Should be looked at from the =
storage side (assuming, btw, it supports discard!)
I looked at the =E2=80=9Cactual Size=E2=80=9D under Storage
=20
I'm unsure if that size should change - we've allocated blocks, they are =
still allocated from our perspective. From the storage point of view, =
there's a hole that can be used for other purposes.
I'd look on the storage side.=20
=20
I don=E2=80=99t know how ovirt handles FC storage and if this will allow =
discard.
=20
It doesn't really care - thee discard should be passed to the underlying =
storage. Most should support UNMAP these days. But you can easily check, =
I assume with a small test (use sg3_utils for example).
Y.
=20
=20
Thx=20
Christian
=20
=20
Von: Yaniv Kaul [mailto:ykaul@redhat.com <mailto:ykaul@redhat.com> ]=20
Gesendet: Donnerstag, 31. M=C3=A4rz 2016 12:13
An: Grundmann, Christian <Christian.Grundmann(a)fabasoft.com =
<mailto:Christian.Grundmann@fabasoft.com> >
Cc: users(a)ovirt.org <mailto:users@ovirt.org>=20
Betreff: Re: [ovirt-users] Reclaim disk space of thin disks
=20
=20
=20
On Thu, Mar 31, 2016 at 1:05 PM, Grundmann, Christian =
<Christian.Grundmann(a)fabasoft.com =
<mailto:Christian.Grundmann@fabasoft.com> > wrote:
Hi,
seems not to work with FC Storage,
=20
I Zero filled the Disk with dd, removed the file and did a fstrim which =
told me it trimmed the right amount of space,
But the disk Image stays full size.
=20
1. Did you use the hook?
2. Where did you see it's the same size? Should be looked at from the =
storage side (assuming, btw, it supports discard!)
Y.
=20
=20
Thx=20
Christian
=20
Von: Yaniv Kaul [mailto:ykaul@redhat.com <mailto:ykaul@redhat.com> ]=20
Gesendet: Mittwoch, 30. M=C3=A4rz 2016 22:29
An: Grundmann, Christian <Christian.Grundmann(a)fabasoft.com =
<mailto:Christian.Grundmann@fabasoft.com> >
Cc: users(a)ovirt.org <mailto:users@ovirt.org>=20
Betreff: Re: [ovirt-users] Reclaim disk space of thin disks
=20
=20
=20
On Wed, Mar 30, 2016 at 10:04 AM, Grundmann, Christian =
<Christian.Grundmann(a)fabasoft.com =
<mailto:Christian.Grundmann@fabasoft.com> > wrote:
Hi,
is there a way to =E2=80=9Eshrink=E2=80=9C a thin disk image to reclaim =
deleted space like using virt-sparsify?
=20
Yes, if the underlying file system supports it (NFS, for example, might =
need to be 4.2 and above).
=20
Or can it be done by making a snapshot and clone the VM to a new one?
=20
Another suggestion: use the VDSM hooks for discard ('diskunmap') and run =
'fstrim' from within the guest.=20
Y.
=20
=20
Thanks a lot
Christian
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>=20
http://lists.ovirt.org/mailman/listinfo/users
=20
=20
=20
------=_NextPart_001_0026_01D18B5B.E2F532E0
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE-AT
link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'>Hi,<o:p></o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'>@</span><span lang=3DEN-US> I'm unsure if that size
should =
change - we've allocated blocks, they are still allocated from our =
perspective. From the storage point of view, there's a hole that can be =
used for other purposes.<o:p></o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US>I'd look on the storage
side. <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'>That=E2=80=99s the problem, if the space is still =
allocated it can=E2=80=99t be used for other VMs so it won=E2=80=99t =
help. Is there a possibility to deallocate the free Blocks of the Disk? =
I think virt-sparsify would do exactly that but can=E2=80=99t be used =
with ovirt?<o:p></o:p></span></p><p
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'>Thx<o:p></o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'>Christian<o:p></o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-la=
nguage:EN-US'><o:p> </o:p></span></p><p
class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p
=
class=3DMsoNormal><b><span lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></=
b><span lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> Yaniv
Kaul =
[mailto:ykaul@redhat.com] <br><b>Gesendet:</b> Donnerstag, 31. M=C3=A4rz
=
2016 14:33<br><b>An:</b> Grundmann, Christian =
<Christian.Grundmann@fabasoft.com><br><b>Cc:</b> =
users@ovirt.org<br><b>Betreff:</b> Re: [ovirt-users] Reclaim disk space
=
of thin disks<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p><div><div><div><p
=
class=3DMsoNormal>On Thu, Mar 31, 2016 at 1:16 PM, Grundmann, Christian =
<<a href=3D"mailto:Christian.Grundmann@fabasoft.com" =
target=3D"_blank">Christian.Grundmann(a)fabasoft.com</a>&gt; =
wrote:<o:p></o:p></p><blockquote
style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Hi,</span><o:=
p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>@1. Did
you =
use the hook?</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>yes,
without =
the hook fstrim would not start,</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>@2. Where
=
did you see it's the same size? Should be looked at from the storage =
side (assuming, btw, it supports
discard!)</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>I looked
at =
the =E2=80=9Cactual Size=E2=80=9D under =
Storage</span><o:p></o:p></p></div></div></blockquote><div><p
=
class=3DMsoNormal><o:p> </o:p></p></div><div><p
=
class=3DMsoNormal>I'm unsure if that size should change - we've =
allocated blocks, they are still allocated from our perspective. From =
the storage point of view, there's a hole that can be used for other =
purposes.<o:p></o:p></p></div><div><p
class=3DMsoNormal>I'd look on the =
storage side. <o:p></o:p></p></div><blockquote =
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>I =
don=E2=80=99t know how ovirt handles FC storage and if this will allow =
discard.</span><o:p></o:p></p></div></div></blockquote><div><p
=
class=3DMsoNormal><o:p> </o:p></p></div><div><p
=
class=3DMsoNormal>It doesn't really care - thee discard should be passed =
to the underlying storage. Most should support UNMAP these days. But you =
can easily check, I assume with a small test (use sg3_utils for =
example).<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Y.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p> </o:p></p></div><blockquote
=
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Thx =
</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Christian</sp=
an><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US> </span><o:p></o:p></p><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
=
lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></=
b><span lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> Yaniv
Kaul =
[mailto:<a href=3D"mailto:ykaul@redhat.com" =
target=3D"_blank">ykaul(a)redhat.com</a>]
<br><b>Gesendet:</b> Donnerstag, =
31. M=C3=A4rz 2016
12:13</span><o:p></o:p></p><div><div><p =
class=3DMsoNormal><br><b>An:</b> Grundmann, Christian <<a
=
href=3D"mailto:Christian.Grundmann@fabasoft.com" =
target=3D"_blank">Christian.Grundmann@fabasoft.com</a>><br><b>Cc:</b>
=
<a href=3D"mailto:users@ovirt.org" =
target=3D"_blank">users@ovirt.org</a><br><b>Betreff:</b>
Re: =
[ovirt-users] Reclaim disk space of thin =
disks<o:p></o:p></p></div></div><div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Mar =
31, 2016 at 1:05 PM, Grundmann, Christian <<a =
href=3D"mailto:Christian.Grundmann@fabasoft.com" =
target=3D"_blank">Christian.Grundmann(a)fabasoft.com</a>&gt; =
wrote:<o:p></o:p></p><blockquote
style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Hi,</span><o:=
p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>seems not
to =
work with FC Storage,</span><o:p></o:p></p><p class=3DMsoNormal
=
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>I Zero =
filled the Disk with dd, removed the file and did a fstrim which told me =
it trimmed the right amount of space,</span><o:p></o:p></p><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>But the
disk =
Image stays full =
size.</span><o:p></o:p></p></div></div></blockquote><div><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p
</p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>1. Did you
=
use the hook?<o:p></o:p
</p></div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>2. Where =
did you see it's the same size? Should be looked at from the storage =
side (assuming, btw, it supports
discard!)<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Y.<o:p></o:p=
</p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p></div><blockquote style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Thx =
</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Christian</sp=
an><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>=
<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
=
lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></=
b><span lang=3DDE =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> Yaniv
Kaul =
[mailto:<a href=3D"mailto:ykaul@redhat.com" =
target=3D"_blank">ykaul(a)redhat.com</a>]
<br><b>Gesendet:</b> Mittwoch, =
30. M=C3=A4rz 2016 22:29<br><b>An:</b> Grundmann, Christian
<<a =
href=3D"mailto:Christian.Grundmann@fabasoft.com" =
target=3D"_blank">Christian.Grundmann@fabasoft.com</a>><br><b>Cc:</b>
=
<a href=3D"mailto:users@ovirt.org" =
target=3D"_blank">users@ovirt.org</a><br><b>Betreff:</b>
Re: =
[ovirt-users] Reclaim disk space of thin =
disks</span><o:p></o:p></p><div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Wed, Mar =
30, 2016 at 10:04 AM, Grundmann, Christian <<a =
href=3D"mailto:Christian.Grundmann@fabasoft.com" =
target=3D"_blank">Christian.Grundmann(a)fabasoft.com</a>&gt; =
wrote:<o:p></o:p></p><blockquote
style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US>Hi,</span><o:p></o:p></p><p class=3DMsoNormal
=
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US>is there a way to =E2=80=9Eshrink=E2=80=9C a thin disk =
image to reclaim deleted space like using =
virt-sparsify?</span><o:p></o:p></p></div></div></blockquote><div><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p
</p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yes, if the
=
underlying file system supports it (NFS, for example, might need to be =
4.2 and above).<o:p></o:p
</p></div><div><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p></div><blockquote style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US>Or can it be done by making a snapshot and clone the VM to =
a new
one?</span><o:p></o:p></p></div></div></blockquote><div><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p
</p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Another =
suggestion: use the VDSM hooks for discard ('diskunmap') and run =
'fstrim' from within the
guest. <o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Y.<o:p></o:p=
</p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p></div><blockquote style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US> </span><o:p></o:p></p><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US>Thanks a lot</span><o:p></o:p></p><p
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US =
style=3D'color:#888888'>Christian</span><o:p></o:p></p></div></div><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>______________=
_________________________________<br>Users mailing list<br><a =
href=3D"mailto:Users@ovirt.org" =
target=3D"_blank">Users(a)ovirt.org</a><br><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us...
/o:p></p></blockquote></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p></div></div></div></div></div></div></blockquote></div><p
=
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p><=
/o:p></p></div></div></div></div></div></div></blockquote></div><p
=
class=3DMsoNormal><o:p> </o:p></p></div></div></div></body></html>
------=_NextPart_001_0026_01D18B5B.E2F532E0--
------=_NextPart_000_0025_01D18B5B.E2F532E0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"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