Quote:
Originally Posted by YankeePride13
I think took a look at how one uses the md driver (Again, I am not super experienced with the hardware aspect here) and was having some issues figuring it out. Basically I read that the command would look something like:
Code:
mdadm --create --verbose /dev/md0 --level=1 /dev/sda1 /dev/sdb2
That seems too easy to be the solution to me. Do you have any links to resources (or if you could share personal experience) that would be extremely helpful to me.
|
It is basically that easy, except the installer usually performs the above step during the installation.
In order to boot from an
md volume, the (RAID-aware) bootloader will have to load the kernel and an initrd from the drives that are part of the yet-unactivated RAID array, and then the initrd will have to activate the array before proceding the boot the actual OS. Fortunately, this is something most installers and all bootloaders support.
Migrating an existing non-RAID installation onto a set of
md devices is slightly tricky, as it involves migrating data, rebuilding the initrd and changing the boot loader configuration. It's definitely doable, but nowhere near as easy as installing from scratch to a new software RAID array.