Adding a new RAID1 array using mdadm

Goals:
Add 2 new physical hard drives: /dev/hdc and /dev/hdd
Create RAID1 mirror /dev/md6
Automatically mount new partition in /raid

1. fdisk one of the newly added hard drives:

2. dump new partition table to the other disk:

3. create new RAID1 set/device:

4. format the newly created array:

5. create mount point for new array:

6. append new mount point to /etc/fstab:

7. mount:

8. reboot if you’re paranoid.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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