> I do doubt this is the cause of my problems though. Just to clarify, migrating an array from a 3 disk raid5 to a 4 disk raid6 should be fine? On Sun, Apr 23, 2023 at 9:32 PM Jove <jovetoo@xxxxxxxxx> wrote: > > That comment was because I misunderstood the actual function > of the argument. It should have been 5, not 4 or 3 :). > > I do doubt this is the cause of my problems though. > > On Sun, Apr 23, 2023 at 9:19 PM Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote: > > > > > > > > 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