My box already had two hard disks in raid10. Wanted to add two more disks in a second raid. Here is what I did. This was on Ubuntu Trusty.
fdisk -l
to check that disks are raid are all in place - should be or something went awryblkid
to determine the UUID of the new raid disk set/etc/fstab
with mount point (create the mount-point directory first)mount -a
to mount the diskscat /proc/mdstat
to observe raid sync processmdadm –detail –scan
to get the new (and existing ARRAY) details/etc/mdadm/mdadm.conf
with the new ARRAY detailsupdate-initramfs -u
to add it to the initramfs imageI used the install CD as the process is standard and you can do it via a tool as opposed to commands, that I could not find a good comprehensive set of. It is sort of imperfect in that you have to fool the installer into just creating your raid/partitions and force abort the actual install. However it works and does not have any risk.