On 24 October 2011 14:11, Michael Busby <michael.a.busby@xxxxxxxxx> wrote: > At the moment i have a raid5 setup with 5 disks, i am looking to add a > 6th disk and change from raid 5 to raid 6 > > having looked at Neil's site i have found the following command, and > just want to double check this is still the recommend way of > converting > > mdadm --grow /dev/md0 --level=6 --raid-disks=6 --backup-file=/home/md.backup > > also would i need to add the extra disk before or after the command? > > cheers > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi, I grew my 6 disk RAID5 to a 7 disk RAID6. First, add the drive. Then partition it as required. Then add the drive to the array (I think it'll become a spare?). Then you can grow it. Make sure you're using the latest mdadm tools available. Regards, Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html