I had a problem with my Debian operating system on my SSD and have removed it (Debian) to install Ubuntu server. Originally, on my Debian operating system, I had installed mdadm and had a spanned array of 5 drives appearing as /dev/md0 (none of these had the MBR on them, it was just a new bunch of drives used only for the array). I then mounted /mnt/raiddrvies onto /dev/md0 to access the content. Now the problem is this. Since I've put Ubuntu server onto that SSD, how do I now restore the raid array? I've installed mdadm and tried to run the following command:
sudo mdadm --create /dev/md0 --level=linear --raid-devices=5 /dev/sda /dev/sdb /dev/sdd /dev/sde /dev/sdf
When it goes to create the drive, it says the following message for each of the /dev/sd(a,b,d,e, or f):
mdadm: partition table exists on /dev/sda but will be lost or meaningless after creating array
At the end it asks:
Continue creating an array?
I've put no because I want to keep the original array. I just want to re-group them as a single drive and mount it. How do I do it?