[ironic] Each deploy overwrites the entire target disk
radoslaw.piliszek at gmail.com
Tue Feb 8 08:28:47 UTC 2022
On Tue, 8 Feb 2022 at 09:15, Dmitry Tantsur <dtantsur at redhat.com> wrote:
> On Mon, Feb 7, 2022 at 4:50 PM Radosław Piliszek <radoslaw.piliszek at gmail.com> wrote:
>> 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?
Nope, the cleaning process is quick, this is on deploy.
The command that does the entire overwrite is qemu-img convert from IPA.
I wonder if some semantics changed in the meantime.
I am using Debian Buster (10) based images.
So with this https://packages.debian.org/buster/qemu-utils
More information about the openstack-discuss