I have an ubuntu 12.04 setup with two HDD that is setup in a software raid 1. Now I need to add two additional SSD drives for separate storage of some database files. They need to be setup in their own separate raid 1 array. Unfortunately I have no idea where and how to start? So from the beginning after having plugged the two drives in, and booted the server - then what?
Okay i got it:
1) First list all drives:
1.1) If you need to find out what drives are already in a raid this can be done with
2) Now use fdisk to format the drives and create partitions for each drive:
3) Create the RAID array:
4) Format the array:
5) Lookup the infor for the new array using method in step 1.1 and edit
6) Create a directory (mount dir) for the new drive
7) Mount to fstab by editing
Check that everything runs with:
Some helpfull links: https://help.ubuntu.com/community/Installation/SoftwareRAID http://superuser.com/questions/230497/how-can-i-add-a-raid-1-array-in-ubuntu-10-04 Which hard disk drive is which?