Please note the following setup is Centos 6.6.
I have an existing RAID 1 setup using 2x480GB SSD's. I Just had two new 800GB SSD's installed into the server. The existing RAID 1 setup i want to extend is mapped to /dev/md2
. /dev/md2
points to my /home
directory at the moment. My existing /home
directory is getting full. I want to extend the size of it from 460 GB
(existing /dev/md2
) to 1260 GB
(existing /dev/md2
+ two new drives)
The new disks are setup as /dev/sdc
and /dev/sdd
. The old disks are /dev/sda
and /dev/sdb
.
I found a few different guides about extending RAID setups but I am confused if this will work since I am adding different sized disks to the setup. I also am not sure if this will play nice since I want to add two disks to the setup instead of just 1.
An example of a guide I found: http://www.tecmint.com/grow-raid-array-in-linux/
Would I just run:
mdadm --manage /dev/md2 --add /dev/XXX
Two times for each of the disks before running:
mdadm --grow --raid-devices=4 /dev/md2
Would this properly setup the new 800GB SSD's to work in existence with the 480GB drives that are setup in RAID 1? Will Linux know to properly duplicate data across the new drives and not interfere with the existing drives?
EDIT: I need to do this all live. Forgot to mention that.