How Do I Add Current Root Drive to Raid Array?
I Had Ubuntu on My First Hdd, I Attached Another Hdd to Pc, Now I Want to Configure Software Raid 0 with Existing Ubuntu Installation. with Those Two Hdd 1...
I had Ubuntu on my first HDD, i attached another HDD to PC, now i want to configure software raid 0 with existing Ubuntu installation. with those two HDD
1 Answer
If you want to convert a single drive into RAID you need to:
- partition new disk and create single-drive software RAID (with only new drive attached)
- copy the data, for example using rsync or dd into new raid partition
- install grub on second drive and reconfigure grub to boot from raid device
- then, once it's booted from RAID, attach the old drive to the RAID
There are tutorials available that describes step-by-step process with command examples.
One of them is: - but keep it mind, it's kinda outdated and refers to raid1. This is just to show you the idea about this process.
Before you do anything: remember to do your backup!