How to set up RAID 1?

Solution 1:

RAID 1 is mirroring; where data is duplicated on two different drives using either a hardware RAID controller or software (via the operating system). If either drive fails, the other continues to function as a single drive until the failed drive is replaced.

First thing that needs to be done is to install mdadm. To do so

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

apt-get install mdadm 

Or use USC

Once that is done,

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

mdadm

--create creates a new RAID device

and follow the instructions