Well why you did not include sda8 ? Do you have data on it ?
Then to include sda8 on md0, do
- Code: Select all
mdadm --grow /dev/md0 --raid-devices=5 --add /dev/sda8
Note: I do not know if you can mix gpt partition table(sda8) with ms-dos partition tables in a raid0 but you must try.
After you need to increase you raid
- Code: Select all
resize2fs /dev/md0
But I think you need first to unmount md0 so do first before including sda8
- Code: Select all
umount /dev/md0
Of course before rebooting, you need to save the new raid configuration in mdadm.conf file as described in the howto