[ironic] Each deploy overwrites the entire target disk

Dmitry Tantsur dtantsur at redhat.com
Tue Feb 8 08:15:02 UTC 2022


On Mon, Feb 7, 2022 at 4:50 PM Radosław Piliszek <
radoslaw.piliszek at gmail.com> wrote:

> Dears,
> I have a question regarding the default behaviour of Ironic Python
> Agent - it seems that each deploy causes the entire target disk to be
> overwritten. I have noticed this after replacing disks with larger
> ones, the deployment process started taking considerably longer and I
> observed that each sector is rewritten on the target device.
> Is that expected? Can I somehow avoid it?

I think we only overwrite metadata on the target disk, not zero it. Are you
sure it's not cleaning?


> I am using whole-disk, qcow2 images that are much smaller than the
> disk size (even in raw form).
> I am running Ironic Wallaby.
> The deployment method is direct.
> Kind regards,
> -yoctozepto

Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220208/8e2f98f8/attachment-0001.htm>

More information about the openstack-discuss mailing list