In my current Ubuntu server, I have 2x 2TB Western Digital RED hard drives in a RAID 1, using mdadm. I would like to add 2 more 2TB RED drives, and convert it to a RAID 10. I realize I would have to wipe the data most likely, but is there any way that I wouldn't need to? I have the 2TB volume almost completely filled up
This took some strategy, and unfortunately, was a little while ago, so bear with me; I'm going by memory.
Essentially, I shut down the server, and installed the two new drives. I did a backup beforehand to an External 4TB HDD (much faster since it had USB3!), just in case. I didn't need to use it thankfully, but I'm happy I at least had it. I took note of what the partition sizes were on the disk (by block size), and what each disk was. At the time,
This command creates the array, called
Once it was copied over, you need to fail the hard drives in the array, and remove them:
Finally, to remove the old array from starting up or giving warnings, run
As a bonus, I learned a new useful command:
If the RAID controller supports restructuring RAID 1 -> RAID 10, yes, possible loss of data.
Software RAID ...
Add the empty net RAID 1 on two new HDD. Will Raid c similar reliability and without the risk of losing data.