How To Set Up Raid On Ubuntu?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Install the mdadm package:
Open a terminal and type in:
sudo apt-get install mdadm
2. Create the RAID array:
Open a terminal and type in:
sudo mdadm –create –verbose /dev/md0 –level=raid1 –raid-devices=2 /dev/sda1 /dev/sdb1
3. Format the RAID array:
Open a terminal and type in:
sudo mkfs.ext4 /dev/md0
4. Mount the RAID array:
Open a terminal and type in:
sudo mount /dev/md0 /mnt
5. Verify the RAID array:
Open a terminal and type in:
sudo mdadm –detail /dev/md0
You should see the RAID array listed with its two devices.