Open
Description
IIRC, we are already using mdadm --zero-superblock /dev/sdX
to clean all the selected disks from previous mdadm superblocks.
However, if mdadm was used on partitions level (eg sda2
), our command won't clean it, and the install will fail.
Ideally, we should loop on every partition and remove the superblock. Maybe there is a better way (super block detection?) to find and remove only where a superblock was stored before.