Hi Patrick,
please keep the bug in CC, so your messages get added to the bug in the
tracking system. I've forwarded your previous message accordingly.
On 7/24/25 09:27, Patrick Dunford wrote:
In order to create a working array the following steps of preparation are
required for each disk in the array (this has been found to be the only method
which works):
1. Create a GPT partition table on the disk e.g. /dev/sda
2. Create a filesystem partition (e.g. ext4) on the disk e.g. /dev/sda1
3. Add the partition to the MD array
I'm afraid this is not what you initially wrote, so I guess that was
just a typo (you wrote you'd be adding /dev/sda, not /dev/sda1 to the
array).
now, given the above, there are two things to note:
a) when you add a device to an array, there is no need to format it as
all data will be overwritten by mdadm during the resync anyway.
(it might even cause problems if you do so)
b) all partitions need to be of type "raid", usually presented as
"Linux RAID" (e.g. in cfdisk).
both a) and b) are the standard way of doing things, which is inline
with all documentation I've ever seen about mdadm/RAID on Linux. Doing
so, also never resultet in any problems for where things wouldn't work
as expected.
can you retry with both taking a) and b) into account?
Regards,
Daniel