| « HOWTO: Remove RAID Arrays | HOWTO: Stop Folding at Home Scaling My CPU » |
You must resize the file system on the new raid system. I use reiserfs so this can be done on the fly while the system is still mounted. If you use ext3 then I believe this has to be done on an unmounted file system. So boot with a rescue disk first.
Now when you check the disk usage with the df command you will see the correct size of the RAID array. The size on my test system has changed from 8Gb to 12Gb, I added a 4Gb disk so this is expected. 4 x 4Gb disks.
Finally you will need to update mdadm.conf with the new drive adding it to the existing list. Too find out all the UUIDs on the system you can use
Edit /etc/mdadm/mdadm.conf and add the new drive to the ARRAY that of disk you have added the new drive to. Do not just copy my UUIDs they will not be the same as yours
D
Now you need to rebuild the RAM disk image initrd.
Take a look at the man pages for mdadm.conf and update-initramfs.