ironic-lib/releasenotes/notes/erase-tiny-partitions-c408a3a4afe60d44.yaml
Arne Wiebalck 9a60d3853f Handle EBRs and tiny partitions when removing metadata
Extended boot records (EBRs) are used in the MSDOS partitioning
scheme to manage extended partitions. EBRs are small partitions
themselves and Ironic will therefore treat them like any other
partition during cleaning. Since EBRs are smaller than a GPT
(33 sectors), dd'ing 33 sectors will fail. This patch proposes
a fix to handle EBRs (and other tiny paritions) by adjusting
the number of blocks writtent to be the partition size at max.

Story: #2008539
Task: #41628
Change-Id: Ie9809b3e4fe2bea6b66ee95c442111942e85d618
2021-01-25 18:58:56 +01:00

7 lines
134 B
YAML

---
fixes:
- |
Fixes cleaning errors when trying to erase a GPT from a partition
which is smaller than a GPT (33 sectors).