Setting up RAID 1 (Mirroring) using ‘Two Disks’ in Linux – Part 3

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

46 Responses

  1. Riso says:

    Hi, thanks for this article, I’ve got a problem when I want to unplug SDC in settings/storage in VB its grey so i could not even click on remove option then i tried deleting it from VB VMs but then Linux wont even start… so if you could help me somehow thanks

  2. linuxonin says:

    Thank you for creating this article, very great help. I have 1 question/concern on this:

    You used an example here the drives sdb and sdc, so you have no conflict to do it. How about if I want to raid1 my existing drive which is sda, would that be the same steps that you did here?

    • @linuxonin,

      Here sda installed with OS ( centos ) for raid array we have used sdb, sdc.

      Yes same steps.

      • linuxonin says:

        Hi Babin, thanks for your reply but what I mean is what if i want to add my existing installed OS (CentOS) as a pair of my sdb device to make it Raid1 so it should be sda (OS installed) and sdb as Raid1. Is there any steps I need to follow? this one should not work because sda is currently busy running as OS.

  3. jtl says:

    Hello. Thank you for writing this article. After unplugging a drive and seeing the data is still available, when I plug the drive back in, what do I do? In other words, how do I repair/replace a failed hard drive in RAID1?

  4. Naguinix says:

    Beautiful, Thanks a lot from Colombia !

  5. Charles R says:

    Using Ubuntu 15.10 the mount command will cause the OS not to boot. It tested fine via the above instructions (I had moved GBs of data to it before booting) however when booting Ubuntu stated /dev/md0 didn’t exist. I had to boot off a USB stick and remove the mount from fstab. Then it booted fine and I used the Disks app to auto mount the RAID. Which works great.

    Also mdadm.conf is located in /etc/mdadm/.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?