Am 23.04.23 um 21:09 schrieb Jove:
I've added two drives to my raid5 array and tried to migrate it to raid6 with the following command: mdadm --grow /dev/md0 --raid-devices 4 --level 6 --backup-file=/root/mdadm_raid6_backup.md This may have been my first mistake, as there are only 5 drives. it should have been --raid-devices 3, I think.
how do you come to the conclusion 3 when there are 5 drives? you tell it how much drives there are and pretty sure after "mdadm --add" you can skip "--raid-devices" entirely because it knows how many drives there are
https://raid.wiki.kernel.org/index.php/Growing