<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 8, 2022 at 9:29 AM Radosław Piliszek <<a href="mailto:radoslaw.piliszek@gmail.com">radoslaw.piliszek@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 8 Feb 2022 at 09:15, Dmitry Tantsur <<a href="mailto:dtantsur@redhat.com" target="_blank">dtantsur@redhat.com</a>> wrote:<br>
><br>
> Hi!<br>
><br>
> On Mon, Feb 7, 2022 at 4:50 PM Radosław Piliszek <<a href="mailto:radoslaw.piliszek@gmail.com" target="_blank">radoslaw.piliszek@gmail.com</a>> wrote:<br>
>><br>
>> Dears,<br>
>><br>
>> I have a question regarding the default behaviour of Ironic Python<br>
>> Agent - it seems that each deploy causes the entire target disk to be<br>
>> overwritten. I have noticed this after replacing disks with larger<br>
>> ones, the deployment process started taking considerably longer and I<br>
>> observed that each sector is rewritten on the target device.<br>
>> Is that expected? Can I somehow avoid it?<br>
><br>
><br>
> I think we only overwrite metadata on the target disk, not zero it. Are you sure it's not cleaning?<br>
<br>
Nope, the cleaning process is quick, this is on deploy.<br>
The command that does the entire overwrite is qemu-img convert from IPA.<br>
I wonder if some semantics changed in the meantime.<br>
I am using Debian Buster (10) based images.<br>
So with this <a href="https://packages.debian.org/buster/qemu-utils" rel="noreferrer" target="_blank">https://packages.debian.org/buster/qemu-utils</a></blockquote><div><br></div><div>Ah, you may need this change then: <a href="https://review.opendev.org/c/openstack/ironic-lib/+/808993">https://review.opendev.org/c/openstack/ironic-lib/+/808993</a></div><div><br></div><div>Dmitry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
-yoctozepto<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Red Hat GmbH, <a href="https://de.redhat.com/" target="_blank">https://de.redhat.com/</a> , Registered seat: Grasbrunn, <br>Commercial register: Amtsgericht Muenchen, HRB 153243,<br>Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill <br></div></div></div>