I am facing issue configuring RAID 1 with currently running production server (Ubuntu 18.04 LTS).
Currently my configuration is
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 1M 0 part
└─sda2 8:2 0 1.8T 0 part /
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 1M 0 part
└─sdb2 8:18 0 1.8T 0 part
I have two 2TB HDD, one is running the server os (sda) and another is 2TB blank HDD (sdb) which I need to configure with (sda) in RAID 1 so that I can get fault tolerance of OS.
I have read multiply article regarding RAID configuration but none of them are running on the production server. So is there any way I can create RAID 1 for two HDD each 2TB and then copy the whole OS into one HDD in a way when I disconnect the original Hard drive it can load from RAID Hard drives ?
Any suggestion are accepted.
Thank You :)